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

Issue 2943693003: Create RtcpDemuxer (Closed)

Created:
3 years, 6 months ago by eladalon
Modified:
3 years, 5 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

Create RtcpDemuxer. Capabilities: 1. Demux RTCP messages according to the sender-SSRC. 2. Demux RTCP messages according to the RSID (resolved to an SSRC, then compared to the sender-RTCP). 3. Allow listening in on all RTCP messages passing through the demuxer ("broadcast sinks"). BUG=webrtc:7135 Review-Url: https://codereview.webrtc.org/2943693003 Cr-Commit-Position: refs/heads/master@{#18763} Committed: https://chromium.googlesource.com/external/webrtc/+/cb83bdf01f2ec8b9ed254991edc2be053c9eed24

Patch Set 1 #

Patch Set 2 : git cl format #

Total comments: 15

Patch Set 3 : CR response #

Total comments: 21

Patch Set 4 : CR response and some cleanup. #

Total comments: 5

Patch Set 5 : Get rid of ArrayView in rtp_rtcp_demuxer_helper_unittest.cc, too. #

Total comments: 22

Patch Set 6 : . #

Total comments: 14

Patch Set 7 : . #

Total comments: 10

Patch Set 8 : . #

Total comments: 2

Patch Set 9 : . #

Patch Set 10 : . #

Patch Set 11 : dependencies #

Patch Set 12 : . #

Patch Set 13 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1292 lines, -54 lines) Patch
M webrtc/call/BUILD.gn View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +14 lines, -1 line 0 comments Download
A webrtc/call/rsid_resolution_observer.h View 1 2 1 chunk +30 lines, -0 lines 0 comments Download
A webrtc/call/rtcp_demuxer.h View 1 2 3 4 5 6 1 chunk +85 lines, -0 lines 0 comments Download
A webrtc/call/rtcp_demuxer.cc View 1 2 3 4 5 6 7 1 chunk +100 lines, -0 lines 0 comments Download
A webrtc/call/rtcp_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 1 chunk +584 lines, -0 lines 0 comments Download
A webrtc/call/rtcp_packet_sink_interface.h View 1 2 3 4 5 6 7 1 chunk +29 lines, -0 lines 0 comments Download
M webrtc/call/rtp_demuxer.h View 1 2 3 4 chunks +22 lines, -4 lines 0 comments Download
M webrtc/call/rtp_demuxer.cc View 1 2 3 4 chunks +46 lines, -37 lines 0 comments Download
M webrtc/call/rtp_demuxer_unittest.cc View 1 2 3 4 5 6 7 8 9 10 7 chunks +139 lines, -10 lines 0 comments Download
M webrtc/call/rtp_packet_sink_interface.h View 1 2 3 4 5 6 7 1 chunk +2 lines, -2 lines 0 comments Download
A webrtc/call/rtp_rtcp_demuxer_helper.h View 1 2 3 4 5 6 7 1 chunk +67 lines, -0 lines 0 comments Download
A webrtc/call/rtp_rtcp_demuxer_helper.cc View 1 2 3 4 5 6 7 8 1 chunk +55 lines, -0 lines 0 comments Download
A webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 1 chunk +119 lines, -0 lines 0 comments Download

Messages

Total messages: 62 (23 generated)
eladalon
PTAL
3 years, 6 months ago (2017-06-16 13:06:16 UTC) #2
nisse-webrtc
One initial question. I haven't looked into the implementation yet. https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h File webrtc/call/rsid_ssrc_association_resolution_observer.h (right): https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h#newcode21 ...
3 years, 6 months ago (2017-06-16 13:18:34 UTC) #3
eladalon
https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h File webrtc/call/rsid_ssrc_association_resolution_observer.h (right): https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h#newcode21 webrtc/call/rsid_ssrc_association_resolution_observer.h:21: class RsidResolutionObserver { On 2017/06/16 13:18:34, nisse-webrtc wrote: > ...
3 years, 6 months ago (2017-06-16 15:18:43 UTC) #4
eladalon
https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rtcp_demuxer.h File webrtc/call/rtcp_demuxer.h (right): https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rtcp_demuxer.h#newcode73 webrtc/call/rtcp_demuxer.h:73: std::multimap<uint32_t, RtcpPacketSinkInterface*> ssrc_sinks_; On 2017/06/16 15:18:43, eladalon wrote: > ...
3 years, 6 months ago (2017-06-16 15:19:37 UTC) #5
danilchap
https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h File webrtc/call/rsid_ssrc_association_resolution_observer.h (right): https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h#newcode20 webrtc/call/rsid_ssrc_association_resolution_observer.h:20: // The resolution might either happen during call setup, ...
3 years, 6 months ago (2017-06-16 16:46:19 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/2943693003/diff/40001/webrtc/call/rtcp_packet_sink_interface.h File webrtc/call/rtcp_packet_sink_interface.h (right): https://codereview.webrtc.org/2943693003/diff/40001/webrtc/call/rtcp_packet_sink_interface.h#newcode21 webrtc/call/rtcp_packet_sink_interface.h:21: class RtcpPacketSinkInterface { On 2017/06/16 16:46:19, danilchap wrote: > ...
3 years, 6 months ago (2017-06-19 08:26:52 UTC) #7
eladalon
https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h File webrtc/call/rsid_ssrc_association_resolution_observer.h (right): https://codereview.webrtc.org/2943693003/diff/20001/webrtc/call/rsid_ssrc_association_resolution_observer.h#newcode20 webrtc/call/rsid_ssrc_association_resolution_observer.h:20: // The resolution might either happen during call setup, ...
3 years, 6 months ago (2017-06-19 11:28:47 UTC) #8
eladalon
https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn#newcode38 webrtc/call/BUILD.gn:38: # TODO(eladalon): Rename rtc_source_set? Poll reviewers. Any thoughts here?
3 years, 6 months ago (2017-06-19 11:31:53 UTC) #9
nisse-webrtc
lgtm https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn#newcode38 webrtc/call/BUILD.gn:38: # TODO(eladalon): Rename rtc_source_set? Poll reviewers. On 2017/06/19 ...
3 years, 6 months ago (2017-06-19 11:43:34 UTC) #10
danilchap
https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_demuxer_unittest.cc#newcode524 webrtc/call/rtp_demuxer_unittest.cc:524: TEST(RtpDemuxerTest, NotificationSuppressionResetWhenNewObserverAdded) { do you have any (practical) scenario ...
3 years, 6 months ago (2017-06-19 13:31:57 UTC) #11
eladalon
https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_demuxer_unittest.cc File webrtc/call/rtp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_demuxer_unittest.cc#newcode524 webrtc/call/rtp_demuxer_unittest.cc:524: TEST(RtpDemuxerTest, NotificationSuppressionResetWhenNewObserverAdded) { On 2017/06/19 13:31:56, danilchap wrote: > ...
3 years, 6 months ago (2017-06-19 14:35:17 UTC) #12
danilchap
https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc File webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc (right): https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc#newcode37 webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc:37: EXPECT_TRUE(ssrc); On 2017/06/19 14:35:17, eladalon wrote: > On 2017/06/19 ...
3 years, 6 months ago (2017-06-19 16:24:55 UTC) #13
eladalon
https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc File webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc (right): https://codereview.webrtc.org/2943693003/diff/80001/webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc#newcode37 webrtc/call/rtp_rtcp_demuxer_helper_unittest.cc:37: EXPECT_TRUE(ssrc); On 2017/06/19 16:24:54, danilchap wrote: > On 2017/06/19 ...
3 years, 6 months ago (2017-06-19 19:13:49 UTC) #14
kjellander_webrtc
Sorry I forgot about this one yesterday. Please add me as reviewer when you want ...
3 years, 6 months ago (2017-06-20 07:47:41 UTC) #16
kjellander_webrtc
Sorry I forgot about this one yesterday. Please add me as reviewer when you want ...
3 years, 6 months ago (2017-06-20 07:47:52 UTC) #17
eladalon
https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn#newcode38 webrtc/call/BUILD.gn:38: # TODO(eladalon): Rename rtc_source_set? Poll reviewers. On 2017/06/20 07:47:41, ...
3 years, 6 months ago (2017-06-20 07:50:19 UTC) #18
danilchap
lgtm https://codereview.webrtc.org/2943693003/diff/120001/webrtc/call/rtcp_demuxer_unittest.cc File webrtc/call/rtcp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2943693003/diff/120001/webrtc/call/rtcp_demuxer_unittest.cc#newcode13 webrtc/call/rtcp_demuxer_unittest.cc:13: #include "webrtc/call/rtcp_demuxer.h" put this include above c++ include ...
3 years, 6 months ago (2017-06-20 13:04:41 UTC) #19
nisse-webrtc
https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn File webrtc/call/BUILD.gn (right): https://codereview.webrtc.org/2943693003/diff/60001/webrtc/call/BUILD.gn#newcode38 webrtc/call/BUILD.gn:38: # TODO(eladalon): Rename rtc_source_set? Poll reviewers. On 2017/06/20 07:50:18, ...
3 years, 6 months ago (2017-06-20 13:47:39 UTC) #20
eladalon
nisse - sounds right. I've removed the TODO. https://codereview.webrtc.org/2943693003/diff/120001/webrtc/call/rtcp_demuxer_unittest.cc File webrtc/call/rtcp_demuxer_unittest.cc (right): https://codereview.webrtc.org/2943693003/diff/120001/webrtc/call/rtcp_demuxer_unittest.cc#newcode13 webrtc/call/rtcp_demuxer_unittest.cc:13: #include ...
3 years, 6 months ago (2017-06-20 14:32:06 UTC) #21
holmer
Please expand the description with more details of what this CL is doing. https://codereview.webrtc.org/2943693003/diff/140001/webrtc/call/rtp_rtcp_demuxer_helper.cc File ...
3 years, 6 months ago (2017-06-21 06:56:58 UTC) #23
eladalon
https://codereview.webrtc.org/2943693003/diff/140001/webrtc/call/rtp_rtcp_demuxer_helper.cc File webrtc/call/rtp_rtcp_demuxer_helper.cc (right): https://codereview.webrtc.org/2943693003/diff/140001/webrtc/call/rtp_rtcp_demuxer_helper.cc#newcode29 webrtc/call/rtp_rtcp_demuxer_helper.cc:29: if (!header.Parse(next_packet, packet.end() - next_packet)) { On 2017/06/21 06:56:58, ...
3 years, 6 months ago (2017-06-22 11:11:21 UTC) #25
stefan-webrtc
lgtm
3 years, 5 months ago (2017-06-26 07:31:35 UTC) #26
stefan-webrtc
Please add a BUG=, even if it's a generic "Rtp transport refactoring" bug.
3 years, 5 months ago (2017-06-26 07:32:14 UTC) #27
eladalon
On 2017/06/26 07:32:14, stefan-webrtc wrote: > Please add a BUG=, even if it's a generic ...
3 years, 5 months ago (2017-06-26 07:50:06 UTC) #29
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/2943693003/160001
3 years, 5 months ago (2017-06-26 07:50:22 UTC) #32
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/5501) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 5 months ago (2017-06-26 07:52:11 UTC) #34
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/2943693003/180001
3 years, 5 months ago (2017-06-26 09:10:10 UTC) #37
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/5503) ios64_sim_ios10_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 5 months ago (2017-06-26 09:12:01 UTC) #39
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/2943693003/200001
3 years, 5 months ago (2017-06-26 09:21:30 UTC) #42
commit-bot: I haz the power
Try jobs failed on following builders: ios32_sim_ios9_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/ios32_sim_ios9_dbg/builds/5504) ios_arm64_dbg on master.tryserver.webrtc (JOB_FAILED, ...
3 years, 5 months ago (2017-06-26 09:23:22 UTC) #44
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/2943693003/220001
3 years, 5 months ago (2017-06-26 09:46:11 UTC) #47
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/19483)
3 years, 5 months ago (2017-06-26 10:25:01 UTC) #49
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/2943693003/220001
3 years, 5 months ago (2017-06-26 11:06:02 UTC) #51
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/19488)
3 years, 5 months ago (2017-06-26 11:39:13 UTC) #53
eladalon
Three times the same flaky test; I'll disable it.
3 years, 5 months ago (2017-06-26 11:41:44 UTC) #54
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/2943693003/240001
3 years, 5 months ago (2017-06-26 12:06:12 UTC) #57
commit-bot: I haz the power
Committed patchset #13 (id:240001) as https://chromium.googlesource.com/external/webrtc/+/cb83bdf01f2ec8b9ed254991edc2be053c9eed24
3 years, 5 months ago (2017-06-26 12:56:41 UTC) #60
guidou
A revert of this CL (patchset #13 id:240001) has been created in https://codereview.webrtc.org/2957763002/ by guidou@webrtc.org. ...
3 years, 5 months ago (2017-06-26 13:28:28 UTC) #61
eladalon
3 years, 5 months ago (2017-06-26 14:29:30 UTC) #62
Message was sent while issue was closed.
On 2017/06/26 13:28:28, guidou wrote:
> A revert of this CL (patchset #13 id:240001) has been created in
> https://codereview.webrtc.org/2957763002/ by mailto:guidou@webrtc.org.
> 
> The reason for reverting is: Breaks Chromium FYI bots.
> 
> The problem is in the BUILD.gn file.
> 
> Sample failure:
>
https://build.chromium.org/p/chromium.webrtc.fyi/builders/Linux%20Builder/bui...
> 
> Sample logs:
> use_goma = true
> """ to /b/c/b/Linux_Builder/src/out/Release/args.gn.
> 
> /b/c/b/Linux_Builder/src/buildtools/linux64/gn gen //out/Release --check
>   -> returned 1
> ERROR at //third_party/webrtc/call/BUILD.gn:46:5: Can't load input file.
>     "//webrtc/base:rtc_base_approved",
>     ^--------------------------------.

Yes. I now realize why relative paths are usually used; chromium probably sees
webrtc under //third_party/webrtc/.

Powered by Google App Engine
This is Rietveld 408576698