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

Issue 2810733003: Fix SDP stream ID mismatch issue when a track's stream changes. (Closed)

Created:
3 years, 8 months ago by Taylor Brandstetter
Modified:
3 years, 8 months ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix SDP stream ID mismatch issue when a track's stream changes. The example that brought up this issue was: 1. Do offer/answer exchange. 2. Later, remove the audio/video stream. 3. Add back a new stream, that contains only the audio track. 4. Do new offer/answer. The new offer didn't have the new stream ID, but code elsewhere was expecting one. As a result, the send stream is never hooked up to the audio track, and audio packets aren't sent. BUG=chromium:611708 Review-Url: https://codereview.webrtc.org/2810733003 Cr-Commit-Position: refs/heads/master@{#17709} Committed: https://chromium.googlesource.com/external/webrtc/+/2f425aa6b52b02f36951830d79c2eadd5477f6af

Patch Set 1 #

Total comments: 4

Patch Set 2 : Adding more detail to comment. #

Patch Set 3 : Change name of test. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -2 lines) Patch
M webrtc/media/base/streamparams.h View 2 chunks +15 lines, -0 lines 0 comments Download
M webrtc/pc/mediasession.cc View 1 2 chunks +5 lines, -2 lines 0 comments Download
M webrtc/pc/peerconnection_integrationtest.cc View 1 2 2 chunks +36 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (5 generated)
Taylor Brandstetter
PTAL
3 years, 8 months ago (2017-04-10 17:48:45 UTC) #2
pthatcher1
https://codereview.webrtc.org/2810733003/diff/1/webrtc/pc/mediasession.cc File webrtc/pc/mediasession.cc (right): https://codereview.webrtc.org/2810733003/diff/1/webrtc/pc/mediasession.cc#newcode451 webrtc/pc/mediasession.cc:451: StreamParams* param = GetStreamByIds(*current_streams, "", stream_it->id); Instead of making ...
3 years, 8 months ago (2017-04-13 21:31:22 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/2810733003/diff/1/webrtc/pc/mediasession.cc File webrtc/pc/mediasession.cc (right): https://codereview.webrtc.org/2810733003/diff/1/webrtc/pc/mediasession.cc#newcode451 webrtc/pc/mediasession.cc:451: StreamParams* param = GetStreamByIds(*current_streams, "", stream_it->id); On 2017/04/13 21:31:21, ...
3 years, 8 months ago (2017-04-14 15:52:08 UTC) #4
pthatcher1
lgtm
3 years, 8 months ago (2017-04-14 17:00:45 UTC) #5
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/2810733003/40001
3 years, 8 months ago (2017-04-14 17:17:04 UTC) #8
commit-bot: I haz the power
3 years, 8 months ago (2017-04-14 17:41:38 UTC) #11
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/webrtc/+/2f425aa6b52b02f36951830d7...

Powered by Google App Engine
This is Rietveld 408576698