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

Issue 1413713003: Adding the ability to create an RtpSender without a track. (Closed)

Created:
5 years, 2 months ago by Taylor Brandstetter
Modified:
5 years, 1 month ago
Reviewers:
pthatcher2, 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

Adding the ability to create an RtpSender without a track. This CL also changes AddStream to immediately create a sender, rather than waiting until the track is seen in SDP. And the PeerConnection now builds the list of "send streams" from the list of senders, rather than the collection of local media streams. Committed: https://crrev.com/ac9d92ccbe2b29590c53f702e11dc625820480d5 Cr-Commit-Position: refs/heads/master@{#10414}

Patch Set 1 #

Patch Set 2 : Fixing UUID generation. #

Patch Set 3 : Adding some unit tests for new methods on the sender. #

Total comments: 60

Patch Set 4 : Style improvements, support for SetTrack(nullptr), and unit tests. #

Patch Set 5 : Using constant instead of "audio"/"video", and fixing a bug with audio track stats. #

Patch Set 6 : Fixing build errors. #

Total comments: 4

Patch Set 7 : Some renaming, and getting rid of DCHECK. #

Patch Set 8 : Fixing patch conflicts. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+700 lines, -388 lines) Patch
M talk/app/webrtc/audiotrack.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/mediastreaminterface.h View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M talk/app/webrtc/mediastreamprovider.h View 2 chunks +4 lines, -5 lines 0 comments Download
M talk/app/webrtc/peerconnection.h View 1 2 3 4 5 6 7 3 chunks +5 lines, -6 lines 0 comments Download
M talk/app/webrtc/peerconnection.cc View 1 2 3 4 5 6 7 12 chunks +111 lines, -131 lines 0 comments Download
M talk/app/webrtc/peerconnection_unittest.cc View 1 2 3 4 5 6 chunks +59 lines, -30 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface.h View 1 2 3 4 5 6 7 1 chunk +6 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnectioninterface_unittest.cc View 1 2 3 4 5 6 7 1 chunk +2 lines, -0 lines 0 comments Download
M talk/app/webrtc/peerconnectionproxy.h View 1 chunk +3 lines, -0 lines 0 comments Download
M talk/app/webrtc/rtpsender.h View 1 2 3 4 5 6 5 chunks +58 lines, -11 lines 0 comments Download
M talk/app/webrtc/rtpsender.cc View 1 2 3 4 5 6 5 chunks +159 lines, -47 lines 0 comments Download
M talk/app/webrtc/rtpsenderinterface.h View 1 2 3 4 5 6 3 chunks +20 lines, -0 lines 0 comments Download
M talk/app/webrtc/rtpsenderreceiver_unittest.cc View 1 2 3 4 chunks +210 lines, -3 lines 0 comments Download
D talk/app/webrtc/test/fakemediastreamsignaling.h View 1 chunk +0 lines, -140 lines 0 comments Download
M talk/app/webrtc/videotrack.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M talk/app/webrtc/webrtcsession.cc View 1 2 3 4 5 3 chunks +0 lines, -3 lines 0 comments Download
M talk/libjingle_tests.gyp View 1 2 3 4 5 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/base/helpers.h View 1 chunk +3 lines, -0 lines 0 comments Download
M webrtc/base/helpers.cc View 1 2 3 3 chunks +48 lines, -9 lines 0 comments Download
M webrtc/base/helpers_unittest.cc View 1 1 chunk +7 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (6 generated)
Taylor Brandstetter
https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/test/fakemediastreamsignaling.h File talk/app/webrtc/test/fakemediastreamsignaling.h (left): https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/test/fakemediastreamsignaling.h#oldcode1 talk/app/webrtc/test/fakemediastreamsignaling.h:1: /* I could have deleted this in the MediaStreamSignaling ...
5 years, 2 months ago (2015-10-19 23:51:34 UTC) #2
pthatcher1
https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/peerconnection.cc#newcode378 talk/app/webrtc/peerconnection.cc:378: if (sender->kind() == "audio") { We should use a ...
5 years, 2 months ago (2015-10-20 17:42:50 UTC) #3
Taylor Brandstetter
https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/peerconnection.cc#newcode378 talk/app/webrtc/peerconnection.cc:378: if (sender->kind() == "audio") { On 2015/10/20 17:42:49, pthatcher1 ...
5 years, 2 months ago (2015-10-21 00:22:09 UTC) #4
pthatcher1
Looks much better. Just one naming nit, and I'm still a little concerned about DCHECK ...
5 years, 2 months ago (2015-10-22 07:34:14 UTC) #5
Taylor Brandstetter
https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/peerconnection.cc File talk/app/webrtc/peerconnection.cc (right): https://codereview.webrtc.org/1413713003/diff/40001/talk/app/webrtc/peerconnection.cc#newcode1651 talk/app/webrtc/peerconnection.cc:1651: RTC_DCHECK(false && "Invalid media type."); On 2015/10/22 07:34:13, pthatcher1 ...
5 years, 2 months ago (2015-10-22 19:26:42 UTC) #6
Taylor Brandstetter
5 years, 2 months ago (2015-10-22 19:26:44 UTC) #7
pthatcher2
lgtm
5 years, 2 months ago (2015-10-22 23:18:53 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413713003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413713003/140001
5 years, 1 month ago (2015-10-26 17:43:52 UTC) #12
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/1416)
5 years, 1 month ago (2015-10-26 17:46:09 UTC) #14
pthatcher1
lgtm
5 years, 1 month ago (2015-10-26 18:46:17 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1413713003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1413713003/140001
5 years, 1 month ago (2015-10-26 18:47:07 UTC) #17
commit-bot: I haz the power
Committed patchset #8 (id:140001)
5 years, 1 month ago (2015-10-26 18:48:27 UTC) #18
commit-bot: I haz the power
Patchset 8 (id:??) landed as https://crrev.com/ac9d92ccbe2b29590c53f702e11dc625820480d5 Cr-Commit-Position: refs/heads/master@{#10414}
5 years, 1 month ago (2015-10-26 18:48:36 UTC) #19
Taylor Brandstetter
5 years, 1 month ago (2015-10-26 21:10:55 UTC) #20
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in
https://codereview.webrtc.org/1426443007/ by deadbeef@webrtc.org.

The reason for reverting is: Causing a compiler warning, and causing
WebRtcBrowserTest.CallAndModifyStream to fail..

Powered by Google App Engine
This is Rietveld 408576698