Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Issue 266373008: Cast: Fix rtcp event dedup logic in rtcp_receiver. (Closed)

Created:
6 years, 7 months ago by imcheng
Modified:
6 years, 7 months ago
Reviewers:
Alpha Left Google
CC:
chromium-reviews, hclam+watch_chromium.org, imcheng+watch_chromium.org, hguihot+watch_chromium.org, jasonroberts+watch_google.com, avayvod+watch_chromium.org, pwestin+watch_google.com, feature-media-reviews_chromium.org, miu+watch_chromium.org, hubbe+watch_chromium.org, mikhal+watch_chromium.org, erickung1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Cast: Fix rtcp event dedup logic in rtcp_receiver. Previously the dedup logic is based on a hash of rtp timestamp, event time, and event type. This is not sufficient for packet events since two of them can have the same fields except for packet id. The hash needs to also take account into packet id for packet events. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268791

Patch Set 1 #

Total comments: 4

Patch Set 2 : Addressed comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+135 lines, -98 lines) Patch
M media/cast/rtcp/rtcp_receiver.h View 1 1 chunk +3 lines, -2 lines 0 comments Download
M media/cast/rtcp/rtcp_receiver.cc View 1 4 chunks +36 lines, -49 lines 0 comments Download
M media/cast/rtcp/rtcp_receiver_unittest.cc View 3 chunks +15 lines, -7 lines 0 comments Download
M media/cast/rtcp/rtcp_sender.cc View 1 chunk +0 lines, -30 lines 0 comments Download
M media/cast/rtcp/rtcp_sender_unittest.cc View 5 chunks +9 lines, -8 lines 0 comments Download
M media/cast/rtcp/rtcp_utility.h View 2 chunks +9 lines, -0 lines 0 comments Download
M media/cast/rtcp/rtcp_utility.cc View 1 chunk +58 lines, -0 lines 0 comments Download
M media/cast/rtcp/test_rtcp_packet_builder.h View 1 chunk +1 line, -1 line 0 comments Download
M media/cast/rtcp/test_rtcp_packet_builder.cc View 2 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 9 (0 generated)
imcheng
6 years, 7 months ago (2014-05-06 20:26:19 UTC) #1
Alpha Left Google
https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc File media/cast/rtcp/rtcp_receiver.cc (right): https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc#newcode43 media/cast/rtcp/rtcp_receiver.cc:43: size_t HashReceiverEvent(uint32 frame_rtp_timestamp, I suggest we change the hash ...
6 years, 7 months ago (2014-05-06 20:55:51 UTC) #2
imcheng
https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc File media/cast/rtcp/rtcp_receiver.cc (right): https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc#newcode43 media/cast/rtcp/rtcp_receiver.cc:43: size_t HashReceiverEvent(uint32 frame_rtp_timestamp, Are you suggesting that we get ...
6 years, 7 months ago (2014-05-06 21:19:47 UTC) #3
Alpha Left Google
https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc File media/cast/rtcp/rtcp_receiver.cc (right): https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc#newcode43 media/cast/rtcp/rtcp_receiver.cc:43: size_t HashReceiverEvent(uint32 frame_rtp_timestamp, On 2014/05/06 21:19:47, imcheng1 wrote: > ...
6 years, 7 months ago (2014-05-06 21:21:45 UTC) #4
imcheng
https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc File media/cast/rtcp/rtcp_receiver.cc (right): https://codereview.chromium.org/266373008/diff/1/media/cast/rtcp/rtcp_receiver.cc#newcode43 media/cast/rtcp/rtcp_receiver.cc:43: size_t HashReceiverEvent(uint32 frame_rtp_timestamp, On 2014/05/06 21:21:45, Alpha wrote: > ...
6 years, 7 months ago (2014-05-06 22:29:38 UTC) #5
Alpha Left Google
lgtm
6 years, 7 months ago (2014-05-06 22:32:51 UTC) #6
imcheng
The CQ bit was checked by imcheng@chromium.org
6 years, 7 months ago (2014-05-06 22:40:51 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/imcheng@chromium.org/266373008/20001
6 years, 7 months ago (2014-05-06 22:42:45 UTC) #8
commit-bot: I haz the power
6 years, 7 months ago (2014-05-07 15:51:58 UTC) #9
Message was sent while issue was closed.
Change committed as 268791

Powered by Google App Engine
This is Rietveld 408576698