Chromium Code Reviews

Issue 1428243005: Fix for scenario where m-line is revived after being set to port 0. (Closed)

Created:
5 years, 1 month ago by Taylor Brandstetter
Modified:
5 years, 1 month ago
Reviewers:
pthatcher, pthatcher1
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
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Fix for scenario where m-line is revived after being set to port 0. When this is detected, we'll now "reconfigure" the senders and receivers, which will reconnect the capturers/renderers to the underlying streams which have been recreated. BUG=webrtc:2136 Committed: https://crrev.com/faac497af560ece34301343eb40377fd5503f7a0 Cr-Commit-Position: refs/heads/master@{#10628}

Patch Set 1 #

Total comments: 14

Patch Set 2 : Addressing comments. #

Patch Set 3 : Going with alternate solution, as discussed, that deals with remote tracks getting ended. #

Patch Set 4 : Making things a bit cleaner #

Total comments: 2

Patch Set 5 : Fixing typo. #

Unified diffs Side-by-side diffs Stats (+124 lines, -28 lines)
M talk/app/webrtc/peerconnection.h View 1 chunk +4 lines, -0 lines 0 comments
M talk/app/webrtc/peerconnection.cc View 3 chunks +46 lines, -22 lines 0 comments
M talk/app/webrtc/peerconnection_unittest.cc View 11 chunks +74 lines, -6 lines 0 comments

Messages

Total messages: 15 (5 generated)
Taylor Brandstetter
Hi Peter; this is basically the same as the fix attempted initially, but instead of ...
5 years, 1 month ago (2015-11-10 20:28:00 UTC) #2
pthatcher1
https://codereview.webrtc.org/1428243005/diff/1/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1428243005/diff/1/talk/app/webrtc/peerconnection.cc#newcode954 talk/app/webrtc/peerconnection.cc:954: } else if (audio_rejected_) { Can we get the ...
5 years, 1 month ago (2015-11-11 00:45:02 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1428243005/diff/1/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1428243005/diff/1/talk/app/webrtc/peerconnection.cc#newcode954 talk/app/webrtc/peerconnection.cc:954: } else if (audio_rejected_) { On 2015/11/11 00:45:02, pthatcher1 ...
5 years, 1 month ago (2015-11-11 01:33:30 UTC) #4
Taylor Brandstetter
Here's the solution we discussed. I also needed to change peerconnection_unittest to account for the ...
5 years, 1 month ago (2015-11-11 22:50:26 UTC) #6
pthatcher
lgtm https://codereview.webrtc.org/1428243005/diff/60001/talk/app/webrtc/peerconnection.h File talk/app/webrtc/peerconnection.h (right): https://codereview.webrtc.org/1428243005/diff/60001/talk/app/webrtc/peerconnection.h#newcode240 talk/app/webrtc/peerconnection.h:240: // Called when a media type is rejected ...
5 years, 1 month ago (2015-11-12 19:44:19 UTC) #8
Taylor Brandstetter
https://codereview.webrtc.org/1428243005/diff/60001/talk/app/webrtc/peerconnection.h File talk/app/webrtc/peerconnection.h (right): https://codereview.webrtc.org/1428243005/diff/60001/talk/app/webrtc/peerconnection.h#newcode240 talk/app/webrtc/peerconnection.h:240: // Called when a media type is rejected (m-line ...
5 years, 1 month ago (2015-11-12 19:54:11 UTC) #9
pthatcher1
lgtm
5 years, 1 month ago (2015-11-12 20:00:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1428243005/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1428243005/80001
5 years, 1 month ago (2015-11-12 23:26:01 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 1 month ago (2015-11-12 23:33:11 UTC) #14
commit-bot: I haz the power
5 years, 1 month ago (2015-11-12 23:33:19 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/faac497af560ece34301343eb40377fd5503f7a0
Cr-Commit-Position: refs/heads/master@{#10628}

Powered by Google App Engine