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

Issue 2968693002: SSRC and RSID may only refer to one sink each in RtpDemuxer (Closed)

Created:
3 years, 5 months ago by eladalon
Modified:
3 years, 4 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun, stefan-webrtc, mflodman
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

SSRC and RSID may only refer to one sink each in RtpDemuxer RTP demuxing should only match RTP packets with one sink. BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2968693002 Cr-Commit-Position: refs/heads/master@{#19233} Committed: https://chromium.googlesource.com/external/webrtc/+/7b7e06fd23ac67d81f378b773bb631abb1d82116

Patch Set 1 #

Total comments: 12

Patch Set 2 : Rebased #

Patch Set 3 : Stop trybots #

Patch Set 4 : . #

Patch Set 5 : TODO added. #

Total comments: 6

Patch Set 6 : Response to comments. #

Total comments: 12

Patch Set 7 : . #

Patch Set 8 : . #

Total comments: 1

Patch Set 9 : Rebase + use rtc_base/ #

Patch Set 10 : Rebased #

Total comments: 2

Patch Set 11 : . #

Patch Set 12 : . #

Patch Set 13 : 1. Rebase. 2. Remove old TODO. #

Total comments: 6

Patch Set 14 : Rebased #

Patch Set 15 : Add expectations to OnlyOneSinkPerSsrcGetsOnRtpPacketTriggered. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+286 lines, -106 lines) Patch
M webrtc/call/rtp_demuxer.h View 1 2 3 4 5 6 3 chunks +12 lines, -14 lines 0 comments Download
M webrtc/call/rtp_demuxer.cc View 1 2 3 4 5 6 7 8 9 10 11 12 2 chunks +37 lines, -32 lines 0 comments Download
M webrtc/call/rtp_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 9 chunks +202 lines, -56 lines 0 comments Download
M webrtc/call/rtp_rtcp_demuxer_helper.h View 1 2 3 4 5 6 7 8 4 chunks +25 lines, -0 lines 0 comments Download
M webrtc/call/rtp_stream_receiver_controller.h View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M webrtc/call/rtp_stream_receiver_controller.cc View 1 2 3 4 5 6 7 8 3 chunks +8 lines, -2 lines 0 comments Download
M webrtc/call/rtp_stream_receiver_controller_interface.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 29 (10 generated)
eladalon
PTAL https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_stream_receiver_controller.cc File webrtc/call/rtp_stream_receiver_controller.cc (right): https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_stream_receiver_controller.cc#newcode49 webrtc/call/rtp_stream_receiver_controller.cc:49: demuxer_.AddSink(ssrc, sink); // TODO(eladalon): Return-value useful here? Reviewers ...
3 years, 5 months ago (2017-06-30 12:53:24 UTC) #2
danilchap
https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_demuxer.cc File webrtc/call/rtp_demuxer.cc (right): https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_demuxer.cc#newcode37 webrtc/call/rtp_demuxer.cc:37: if (ssrc_sinks_.find(ssrc) == ssrc_sinks_.cend()) { can be done with ...
3 years, 5 months ago (2017-06-30 16:45:31 UTC) #3
eladalon
https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_demuxer.cc File webrtc/call/rtp_demuxer.cc (right): https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_demuxer.cc#newcode37 webrtc/call/rtp_demuxer.cc:37: if (ssrc_sinks_.find(ssrc) == ssrc_sinks_.cend()) { On 2017/06/30 16:45:30, danilchap ...
3 years, 5 months ago (2017-07-03 08:23:36 UTC) #4
eladalon
Adding Per and Stefan to accept, as Danil is OOO.
3 years, 5 months ago (2017-07-03 08:24:25 UTC) #6
holmer
https://codereview.webrtc.org/2968693002/diff/100001/webrtc/call/flexfec_receive_stream_impl.cc File webrtc/call/flexfec_receive_stream_impl.cc (right): https://codereview.webrtc.org/2968693002/diff/100001/webrtc/call/flexfec_receive_stream_impl.cc#newcode161 webrtc/call/flexfec_receive_stream_impl.cc:161: RTC_CHECK(receiver_controller->AddSink(ssrc, this)); Is it possible to trigger this by ...
3 years, 5 months ago (2017-07-03 09:06:15 UTC) #8
eladalon
https://codereview.webrtc.org/2968693002/diff/100001/webrtc/call/flexfec_receive_stream_impl.cc File webrtc/call/flexfec_receive_stream_impl.cc (right): https://codereview.webrtc.org/2968693002/diff/100001/webrtc/call/flexfec_receive_stream_impl.cc#newcode161 webrtc/call/flexfec_receive_stream_impl.cc:161: RTC_CHECK(receiver_controller->AddSink(ssrc, this)); On 2017/07/03 09:06:14, holmer wrote: > Is ...
3 years, 5 months ago (2017-07-03 11:25:35 UTC) #9
eladalon
https://codereview.webrtc.org/2968693002/diff/140001/webrtc/call/flexfec_receive_stream_impl.cc File webrtc/call/flexfec_receive_stream_impl.cc (right): https://codereview.webrtc.org/2968693002/diff/140001/webrtc/call/flexfec_receive_stream_impl.cc#newcode161 webrtc/call/flexfec_receive_stream_impl.cc:161: // TODO(eladalon): Make sure FlexFec no longer requires this, ...
3 years, 5 months ago (2017-07-06 16:44:33 UTC) #10
eladalon
3 years, 5 months ago (2017-07-13 14:39:23 UTC) #12
danilchap
lgtm https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_rtcp_demuxer_helper.h File webrtc/call/rtp_rtcp_demuxer_helper.h (right): https://codereview.webrtc.org/2968693002/diff/1/webrtc/call/rtp_rtcp_demuxer_helper.h#newcode68 webrtc/call/rtp_rtcp_demuxer_helper.h:68: // TODO(eladalon): Remove this in the next CL. ...
3 years, 4 months ago (2017-07-26 11:25:47 UTC) #15
eladalon
https://codereview.webrtc.org/2968693002/diff/180001/webrtc/call/rtp_stream_receiver_controller.cc File webrtc/call/rtp_stream_receiver_controller.cc (right): https://codereview.webrtc.org/2968693002/diff/180001/webrtc/call/rtp_stream_receiver_controller.cc#newcode23 webrtc/call/rtp_stream_receiver_controller.cc:23: const bool sink_added = controller_->AddSink(ssrc, sink_); On 2017/07/26 11:25:47, ...
3 years, 4 months ago (2017-07-26 11:30:13 UTC) #16
Steve Anton
LGTM, just a couple of minor nits on the tests.
3 years, 4 months ago (2017-08-02 20:34:34 UTC) #17
Steve Anton
https://codereview.webrtc.org/2968693002/diff/240001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2968693002/diff/240001/webrtc/call/rtp_demuxer_unittest.cc#newcode237 webrtc/call/rtp_demuxer_unittest.cc:237: ASSERT_FALSE(demuxer.AddSink(ssrc, &sinks[2])); nit: I don't think it's really necessary ...
3 years, 4 months ago (2017-08-02 20:35:24 UTC) #18
Taylor Brandstetter
lgtm, though there are just some behaviors in this CL that are changed in Steve's ...
3 years, 4 months ago (2017-08-02 21:03:32 UTC) #19
eladalon
Taylor, the differences compared to Steve's CL are not due to disagreement about the intended ...
3 years, 4 months ago (2017-08-03 11:14:25 UTC) #20
stefan-webrtc
rs-lgtm
3 years, 4 months ago (2017-08-03 11:32:07 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.webrtc.org/2968693002/280001
3 years, 4 months ago (2017-08-03 11:34:16 UTC) #24
commit-bot: I haz the power
Committed patchset #15 (id:280001) as https://chromium.googlesource.com/external/webrtc/+/7b7e06fd23ac67d81f378b773bb631abb1d82116
3 years, 4 months ago (2017-08-03 12:13:56 UTC) #27
Zhi Huang
A revert of this CL (patchset #15 id:280001) has been created in https://codereview.webrtc.org/2993633002/ by zhihuang@webrtc.org. ...
3 years, 4 months ago (2017-08-03 17:09:29 UTC) #28
charujain
3 years, 4 months ago (2017-08-03 17:51:22 UTC) #29
Message was sent while issue was closed.
A revert of this CL (patchset #15 id:280001) has been created in
https://codereview.webrtc.org/2989383002/ by charujain@webrtc.org.

The reason for reverting is: Break internal projects.

Powered by Google App Engine
This is Rietveld 408576698