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

Issue 1438183002: Change default SSRC for RTCP receiver reports to not collide with video. (Closed)

Created:
5 years, 1 month ago by the sun
Modified:
5 years, 1 month ago
CC:
webrtc-reviews_webrtc.org, interface-changes_webrtc.org, rwolff_gocast.it, yujie_mao (webrtc), Andrew MacDonald, tterriberry_mozilla.com, qiang.lu, niklas.enbom, peah-webrtc, pthatcher1
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change default SSRC for RTCP receiver reports to not collide with video. BUG=chromium:547661 TBR=pthatcher@webrtc.org Committed: https://crrev.com/8093d5442e4c365bfebc07abcf5fb653bd7a1d57 Cr-Commit-Position: refs/heads/master@{#10621}

Patch Set 1 #

Patch Set 2 : Change default SSRC to something more obviously wrong. #

Total comments: 1

Patch Set 3 : removed comment #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -2 lines) Patch
M talk/media/webrtc/webrtcvoiceengine.h View 1 2 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 25 (9 generated)
the sun
PTAL, this needs landing before today's roll to chromium.
5 years, 1 month ago (2015-11-12 10:47:30 UTC) #2
pbos-webrtc
On 2015/11/12 10:47:30, the sun wrote: > PTAL, this needs landing before today's roll to ...
5 years, 1 month ago (2015-11-12 10:53:36 UTC) #4
the sun
On 2015/11/12 10:53:36, pbos-webrtc wrote: > On 2015/11/12 10:47:30, the sun wrote: > > PTAL, ...
5 years, 1 month ago (2015-11-12 10:54:48 UTC) #5
pbos-webrtc
On 2015/11/12 10:54:48, the sun wrote: > On 2015/11/12 10:53:36, pbos-webrtc wrote: > > On ...
5 years, 1 month ago (2015-11-12 10:59:27 UTC) #6
hta-webrtc
LGTM. This is the wrong long-term fix. But the fix itself does not increase our ...
5 years, 1 month ago (2015-11-12 12:41:19 UTC) #9
the sun
On 2015/11/12 10:59:27, pbos-webrtc wrote: > On 2015/11/12 10:54:48, the sun wrote: > > On ...
5 years, 1 month ago (2015-11-12 12:44:37 UTC) #10
pbos-webrtc
https://codereview.webrtc.org/1438183002/diff/20001/talk/media/webrtc/webrtcvoiceengine.h File talk/media/webrtc/webrtcvoiceengine.h (right): https://codereview.webrtc.org/1438183002/diff/20001/talk/media/webrtc/webrtcvoiceengine.h#newcode321 talk/media/webrtc/webrtcvoiceengine.h:321: // This should really be fixed in the RTP/RTCP ...
5 years, 1 month ago (2015-11-12 12:48:12 UTC) #11
the sun
On 2015/11/12 12:48:12, pbos-webrtc wrote: > https://codereview.webrtc.org/1438183002/diff/20001/talk/media/webrtc/webrtcvoiceengine.h > File talk/media/webrtc/webrtcvoiceengine.h (right): > > https://codereview.webrtc.org/1438183002/diff/20001/talk/media/webrtc/webrtcvoiceengine.h#newcode321 > ...
5 years, 1 month ago (2015-11-12 12:48:40 UTC) #12
pbos-webrtc
On 2015/11/12 12:48:40, the sun wrote: > On 2015/11/12 12:48:12, pbos-webrtc wrote: > > > ...
5 years, 1 month ago (2015-11-12 12:50:05 UTC) #13
the sun
On 2015/11/12 12:50:05, pbos-webrtc wrote: > On 2015/11/12 12:48:40, the sun wrote: > > On ...
5 years, 1 month ago (2015-11-12 12:52:40 UTC) #15
pbos-webrtc
lgtm, please tbr pthatcher so he's aware of it
5 years, 1 month ago (2015-11-12 12:55:23 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1438183002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1438183002/40001
5 years, 1 month ago (2015-11-12 12:56:18 UTC) #20
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 1 month ago (2015-11-12 14:02:34 UTC) #22
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/8093d5442e4c365bfebc07abcf5fb653bd7a1d57 Cr-Commit-Position: refs/heads/master@{#10621}
5 years, 1 month ago (2015-11-12 14:02:42 UTC) #23
pthatcher1
https://codereview.webrtc.org/1438183002/diff/40001/talk/media/webrtc/webrtcvoiceengine.h File talk/media/webrtc/webrtcvoiceengine.h (right): https://codereview.webrtc.org/1438183002/diff/40001/talk/media/webrtc/webrtcvoiceengine.h#newcode321 talk/media/webrtc/webrtcvoiceengine.h:321: uint32_t receiver_reports_ssrc_ = 0xFA17FA17u; Sorry for being late to ...
5 years, 1 month ago (2015-11-12 20:46:40 UTC) #24
the sun
5 years, 1 month ago (2015-11-13 09:31:21 UTC) #25
Message was sent while issue was closed.
On 2015/11/12 20:46:40, pthatcher1 wrote:
>
https://codereview.webrtc.org/1438183002/diff/40001/talk/media/webrtc/webrtcv...
> File talk/media/webrtc/webrtcvoiceengine.h (right):
> 
>
https://codereview.webrtc.org/1438183002/diff/40001/talk/media/webrtc/webrtcv...
> talk/media/webrtc/webrtcvoiceengine.h:321: uint32_t receiver_reports_ssrc_ =
> 0xFA17FA17u;
> Sorry for being late to the bug.
> 
> Changing the RR SSRC to something other than 1 may cause RRs to not be
received
> if the SSRCs aren't signalled because the BundleFilter won't know what to do
> with them.  I see there is a CL for updating the BundleFilter to let in all
RRs,
> regardless of SSRC=1, but that's not submitted yet.  Until it has been
submitted
> and rolled out for a while, I think the fix here to change the SSRC is risky.

Back 3 weeks ago, when we had the default send channel in WVoMC, a *random* SSRC
was picked for RRs in the case we're addressing in this isssue. That case being
1 audio/video sender, 1 audio/video receiver. Since there are no streams in the
opposite direction, the sender's BundleFilter has not been populated with any
receive streams and therefore will let through all RTCP.

So the fix provided avoids the SRTCP index collision and allows RRs to flow *as
before*. The result can be seen clearly here:
https://chromeperf.appspot.com/group_report?bug_id=555023, i.e. the stats are
back to nominal levels.

I realize that in a more realistic use case, we still have the same problem as
before: audio RRs will be dropped by BundleFilter (until the mentioned CL is
landed).

Powered by Google App Engine
This is Rietveld 408576698