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

Issue 1507973003: Restoring behavior where PeerConnection tracks changes to MediaStreams. (Closed)

Created:
5 years ago by Taylor Brandstetter
Modified:
5 years ago
Reviewers:
pthatcher1
CC:
webrtc-reviews_webrtc.org
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Restoring behavior where PeerConnection tracks changes to MediaStreams. If a MediaStream is added to a PeerConnection, and later a track is added to the MediaStream, a new RtpSender will now be created for that track, and it will appear in subsequent offers. Similarly, removed tracks will remove RtpSenders. BUG=webrtc:5265 Committed: https://crrev.com/eb45981165f982dd51425fad5ecb7ea9619063d3 Cr-Commit-Position: refs/heads/master@{#11040}

Patch Set 1 #

Patch Set 2 : Check that iterator is valid before erasing. #

Total comments: 6

Patch Set 3 : Addressing comments. #

Patch Set 4 : Forgot to call erase with remove_if. #

Patch Set 5 : Fixing formatting. #

Patch Set 6 : Fixing merge conflicts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+261 lines, -59 lines) Patch
M talk/app/webrtc/mediastreamobserver.h View 1 2 3 4 5 1 chunk +34 lines, -2 lines 0 comments Download
M talk/app/webrtc/mediastreamobserver.cc View 1 2 3 4 5 1 chunk +72 lines, -1 line 0 comments Download
M talk/app/webrtc/peerconnection.h View 1 2 3 3 chunks +13 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnection.cc View 1 2 3 4 5 5 chunks +98 lines, -56 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface_unittest.cc View 1 2 3 1 chunk +42 lines, -0 lines 0 comments Download
M talk/libjingle.gyp View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 21 (10 generated)
Taylor Brandstetter
5 years ago (2015-12-08 02:19:43 UTC) #2
pthatcher1
lgtm, with some ideas for readability Well done, by the way. I like how cleanly ...
5 years ago (2015-12-08 21:31:05 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1507973003/diff/20001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1507973003/diff/20001/talk/app/webrtc/peerconnection.cc#newcode773 talk/app/webrtc/peerconnection.cc:773: const rtc::scoped_ptr<MediaStreamObserver>& observer) -> bool { On 2015/12/08 21:31:05, ...
5 years ago (2015-12-09 00:36:02 UTC) #4
pthatcher1
lgtm
5 years ago (2015-12-09 00:59:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1507973003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1507973003/60001
5 years ago (2015-12-10 18:39:40 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2334)
5 years ago (2015-12-10 18:47:34 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1507973003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1507973003/80001
5 years ago (2015-12-10 22:00:49 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/2337)
5 years ago (2015-12-10 22:13:06 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1507973003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1507973003/100001
5 years ago (2015-12-16 02:02:38 UTC) #18
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years ago (2015-12-16 03:24:48 UTC) #19
commit-bot: I haz the power
5 years ago (2015-12-16 03:24:59 UTC) #21
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/eb45981165f982dd51425fad5ecb7ea9619063d3
Cr-Commit-Position: refs/heads/master@{#11040}

Powered by Google App Engine
This is Rietveld 408576698