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

Issue 2046173002: Use VoiceChannel/VideoChannel directly from RtpSender/RtpReceiver. (Closed)

Created:
4 years, 6 months ago by Taylor Brandstetter
Modified:
4 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com, the sun
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Reland 2 of: Use VoiceChannel/VideoChannel directly from RtpSender/RtpReceiver. Relanding again after fixing issue with RTC_DCHECKs. This CL eliminates the need for the extra layer of indirection provided by mediastreamprovider.h. It will thus make it easier to implement new functionality in RtpSender/RtpReceiver. It also brings us one step closer to the end goal of combining "senders" and "send streams". Currently the sender still needs to go through the BaseChannel and MediaChannel, using an SSRC as a key. R=pthatcher@webrtc.org Committed: https://crrev.com/ba29c6aac7fd351eb76db2444ccacfb5355ff037 Cr-Commit-Position: refs/heads/master@{#13305}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Comment formatting. #

Total comments: 8

Patch Set 3 : Merging with master. Mainly resolving conflicts with "first packet received" CL. #

Patch Set 4 : Moving code that needs to execute out of RTC_DCHECKs. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+673 lines, -913 lines) Patch
M webrtc/api/BUILD.gn View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/api.gyp View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/datachannel.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
D webrtc/api/mediastreamprovider.h View 1 2 1 chunk +0 lines, -120 lines 0 comments Download
M webrtc/api/peerconnection.h View 2 chunks +2 lines, -1 line 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 11 chunks +63 lines, -26 lines 0 comments Download
M webrtc/api/remoteaudiosource.h View 4 chunks +4 lines, -6 lines 0 comments Download
M webrtc/api/remoteaudiosource.cc View 1 2 5 chunks +9 lines, -10 lines 0 comments Download
M webrtc/api/rtpreceiver.h View 1 2 8 chunks +26 lines, -10 lines 0 comments Download
M webrtc/api/rtpreceiver.cc View 1 2 3 4 chunks +102 lines, -31 lines 0 comments Download
M webrtc/api/rtpreceiverinterface.h View 1 2 5 chunks +13 lines, -3 lines 0 comments Download
M webrtc/api/rtpsender.h View 7 chunks +26 lines, -9 lines 0 comments Download
M webrtc/api/rtpsender.cc View 1 2 3 9 chunks +70 lines, -33 lines 0 comments Download
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 2 7 chunks +340 lines, -280 lines 0 comments Download
M webrtc/api/webrtcsession.h View 1 2 4 chunks +5 lines, -43 lines 0 comments Download
M webrtc/api/webrtcsession.cc View 1 2 4 chunks +0 lines, -174 lines 0 comments Download
M webrtc/api/webrtcsession_unittest.cc View 1 2 2 chunks +0 lines, -162 lines 0 comments Download
M webrtc/media/base/fakemediaengine.h View 1 2 3 chunks +13 lines, -2 lines 0 comments Download

Messages

Total messages: 42 (20 generated)
Taylor Brandstetter
https://codereview.webrtc.org/2046173002/diff/1/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/2046173002/diff/1/webrtc/api/peerconnection.cc#newcode420 webrtc/api/peerconnection.cc:420: receiver->internal()->Stop(); This replaces the need for "StopReceivers". https://codereview.webrtc.org/2046173002/diff/1/webrtc/api/rtpreceiver.cc File ...
4 years, 6 months ago (2016-06-07 22:44:43 UTC) #1
Taylor Brandstetter
4 years, 6 months ago (2016-06-08 18:33:44 UTC) #3
pthatcher1
https://codereview.webrtc.org/2046173002/diff/20001/webrtc/api/remoteaudiosource.cc File webrtc/api/remoteaudiosource.cc (right): https://codereview.webrtc.org/2046173002/diff/20001/webrtc/api/remoteaudiosource.cc#newcode84 webrtc/api/remoteaudiosource.cc:84: ssrc, std::unique_ptr<AudioSinkInterface>(new Sink(this))); SetRawAudioSink could be part of RtpReceiverInternal ...
4 years, 6 months ago (2016-06-21 07:45:41 UTC) #4
Taylor Brandstetter
https://codereview.webrtc.org/2046173002/diff/20001/webrtc/api/remoteaudiosource.cc File webrtc/api/remoteaudiosource.cc (right): https://codereview.webrtc.org/2046173002/diff/20001/webrtc/api/remoteaudiosource.cc#newcode84 webrtc/api/remoteaudiosource.cc:84: ssrc, std::unique_ptr<AudioSinkInterface>(new Sink(this))); On 2016/06/21 07:45:41, pthatcher1 wrote: > ...
4 years, 6 months ago (2016-06-22 00:50:18 UTC) #5
pthatcher1
lgtm
4 years, 6 months ago (2016-06-22 05:12:58 UTC) #6
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/2046173002/40001
4 years, 6 months ago (2016-06-24 19:15:49 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: win_x64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_x64_rel/builds/15696)
4 years, 6 months ago (2016-06-24 19:22:45 UTC) #11
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/2046173002/40001
4 years, 6 months ago (2016-06-24 20:12:38 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_rel on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_arm64_rel/builds/8976)
4 years, 6 months ago (2016-06-24 20:22:49 UTC) #15
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/bc5831999d3354509d75357b659b4bb8e39f8a6c Cr-Commit-Position: refs/heads/master@{#13285}
4 years, 6 months ago (2016-06-24 21:06:47 UTC) #18
Taylor Brandstetter
Committed patchset #3 (id:40001) manually as bc5831999d3354509d75357b659b4bb8e39f8a6c (presubmit successful).
4 years, 6 months ago (2016-06-24 21:06:48 UTC) #19
Taylor Brandstetter
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.webrtc.org/2099843003/ by deadbeef@webrtc.org. ...
4 years, 6 months ago (2016-06-24 21:12:46 UTC) #20
Taylor Brandstetter
It turns out this wasn't the CL that broke the bot. Relanding.
4 years, 6 months ago (2016-06-24 21:16:45 UTC) #23
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/2d5491783a264c6e57614f87f1a69dc61bf44609 Cr-Commit-Position: refs/heads/master@{#13287}
4 years, 6 months ago (2016-06-24 21:18:36 UTC) #26
Taylor Brandstetter
Committed patchset #3 (id:40001) manually as 2d5491783a264c6e57614f87f1a69dc61bf44609 (presubmit successful).
4 years, 6 months ago (2016-06-24 21:18:37 UTC) #27
tkchin_webrtc
This broke AppRTCDemo - no more video. Is that an AppRTCDemo bug related to RtpSender/Receiver, ...
4 years, 6 months ago (2016-06-25 02:05:05 UTC) #29
tkchin_webrtc
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.webrtc.org/2092273003/ by tkchin@webrtc.org. ...
4 years, 6 months ago (2016-06-25 02:31:17 UTC) #30
Taylor Brandstetter
On 2016/06/25 02:31:17, tkchin_webrtc wrote: > A revert of this CL (patchset #3 id:40001) has ...
4 years, 5 months ago (2016-06-27 21:07:02 UTC) #32
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/2046173002/60001
4 years, 5 months ago (2016-06-27 21:07:19 UTC) #35
commit-bot: I haz the power
Try jobs failed on following builders: android_dbg on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/android_dbg/builds/14525)
4 years, 5 months ago (2016-06-27 21:14:51 UTC) #37
Taylor Brandstetter
Committed patchset #4 (id:60001) manually as ba29c6aac7fd351eb76db2444ccacfb5355ff037 (presubmit successful).
4 years, 5 months ago (2016-06-27 23:30:52 UTC) #41
commit-bot: I haz the power
4 years, 5 months ago (2016-06-27 23:30:53 UTC) #42
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/ba29c6aac7fd351eb76db2444ccacfb5355ff037
Cr-Commit-Position: refs/heads/master@{#13305}

Powered by Google App Engine
This is Rietveld 408576698