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

Issue 1469833006: Fixing issue with default stream upon setting 2nd remote description. (Closed)

Created:
5 years ago by Taylor Brandstetter
Modified:
5 years ago
Reviewers:
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

Fixing issue with default stream upon setting 2nd remote description. If a description is set that requires making a default stream, and one already exists, we'll now keep the existing default audio/video tracks, rather than destroying them and recreating them. Destroying them caused the blink MediaStream to go to an "ended" state, which is the root cause of the bug. BUG=webrtc:5250 Committed: https://crrev.com/bda7e0b932fc89598da95496efc8650bc0e2c86c Cr-Commit-Position: refs/heads/master@{#10946}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Moving default stream logic into UpdateRemoteStreamsList. #

Total comments: 19

Patch Set 3 : Addressing comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+96 lines, -100 lines) Patch
M talk/app/webrtc/peerconnection.h View 1 2 4 chunks +11 lines, -26 lines 0 comments Download
M talk/app/webrtc/peerconnection.cc View 1 2 6 chunks +63 lines, -74 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface_unittest.cc View 1 chunk +22 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
Taylor Brandstetter
5 years ago (2015-11-25 00:34:53 UTC) #2
pthatcher1
https://codereview.webrtc.org/1469833006/diff/1/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1469833006/diff/1/talk/app/webrtc/peerconnection.cc#newcode1510 talk/app/webrtc/peerconnection.cc:1510: if (info.stream_label != kDefaultStreamLabel && Would it be cleaner ...
5 years ago (2015-12-02 22:05:53 UTC) #3
Taylor Brandstetter
I did what we discussed and moved the default track removal (and also creation) to ...
5 years ago (2015-12-03 01:45:03 UTC) #4
pthatcher1
lgtm That looks a lot better. Thank you for changing it. Now, just a few ...
5 years ago (2015-12-03 20:07:40 UTC) #5
Taylor Brandstetter
Addressed all your comments. https://codereview.webrtc.org/1469833006/diff/20001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1469833006/diff/20001/talk/app/webrtc/peerconnection.cc#newcode1091 talk/app/webrtc/peerconnection.cc:1091: const cricket::ContentInfo* video_content = GetFirstVideoContent(remote_desc); ...
5 years ago (2015-12-04 22:04:54 UTC) #6
pthatcher1
lgtm https://codereview.webrtc.org/1469833006/diff/20001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1469833006/diff/20001/talk/app/webrtc/peerconnection.cc#newcode1535 talk/app/webrtc/peerconnection.cc:1535: } On 2015/12/04 22:04:54, Taylor Brandstetter wrote: > ...
5 years ago (2015-12-05 00:31:41 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1469833006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1469833006/40001
5 years ago (2015-12-09 00:19:06 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-09 01:13:46 UTC) #10
commit-bot: I haz the power
5 years ago (2015-12-09 01:14:00 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/bda7e0b932fc89598da95496efc8650bc0e2c86c
Cr-Commit-Position: refs/heads/master@{#10946}

Powered by Google App Engine
This is Rietveld 408576698