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

Issue 1765423005: Change VideoRtpReceiver to create remote VideoTrack and VideoTrackSource. (Closed)

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

Description

Change VideoRtpReceiver to create remote VideoTrack and VideoTrackSource. This enabled us to be able to remove VideoTrack::GetSink and RemoteVideoCapturer. Since video frames from the decoder is delivered on a media engine internal thread, VideoBroadCaster must be made thread safe. BUG=webrtc:5426 R=deadbeef@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/f0dcfe2c8143f44f07526a919d15bcf4858c6dd5 Cr-Commit-Position: refs/heads/master@{#11944}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : self review #

Total comments: 20

Patch Set 4 : Addressed comments. #

Total comments: 3

Patch Set 5 : Addressed Deadbeefs comments. #

Patch Set 6 : Rebased #

Patch Set 7 : Fix lock order inversion. #

Patch Set 8 : Fixed up the comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+183 lines, -396 lines) Patch
M webrtc/api/api_tests.gyp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M webrtc/api/mediastreaminterface.h View 1 1 chunk +0 lines, -20 lines 0 comments Download
M webrtc/api/mediastreamtrackproxy.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/peerconnection.h View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M webrtc/api/peerconnection.cc View 1 2 3 4 7 chunks +12 lines, -24 lines 0 comments Download
M webrtc/api/remotevideocapturer.h View 1 1 chunk +1 line, -33 lines 0 comments Download
M webrtc/api/remotevideocapturer.cc View 1 1 chunk +1 line, -66 lines 0 comments Download
D webrtc/api/remotevideocapturer_unittest.cc View 1 1 chunk +0 lines, -97 lines 0 comments Download
M webrtc/api/rtpreceiver.h View 1 2 3 4 3 chunks +17 lines, -2 lines 0 comments Download
M webrtc/api/rtpreceiver.cc View 1 2 3 4 3 chunks +26 lines, -4 lines 0 comments Download
M webrtc/api/rtpsenderreceiver_unittest.cc View 1 2 3 4 2 chunks +19 lines, -6 lines 0 comments Download
M webrtc/api/videocapturertracksource_unittest.cc View 1 1 chunk +0 lines, -21 lines 0 comments Download
M webrtc/api/videotrack.h View 1 1 chunk +0 lines, -1 line 0 comments Download
M webrtc/api/videotrack.cc View 1 1 chunk +0 lines, -4 lines 0 comments Download
M webrtc/api/videotrack_unittest.cc View 1 2 4 chunks +18 lines, -71 lines 0 comments Download
M webrtc/api/videotracksource.h View 1 1 chunk +9 lines, -3 lines 0 comments Download
M webrtc/api/videotracksource.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M webrtc/media/base/videobroadcaster.h View 1 2 3 3 chunks +13 lines, -4 lines 0 comments Download
M webrtc/media/base/videobroadcaster.cc View 1 3 chunks +5 lines, -2 lines 0 comments Download
M webrtc/media/engine/webrtcvideoengine2.cc View 1 2 3 4 5 6 7 4 chunks +48 lines, -34 lines 0 comments Download

Messages

Total messages: 27 (12 generated)
perkj_webrtc
Can you please review?
4 years, 9 months ago (2016-03-09 02:24:33 UTC) #3
pthatcher1
Taylor, can you review this as well? https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (left): https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc#oldcode1707 webrtc/api/peerconnection.cc:1707: DestroyVideoReceiver(stream, video_track); ...
4 years, 9 months ago (2016-03-09 18:16:49 UTC) #5
perkj_webrtc
PTAL https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (left): https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc#oldcode1707 webrtc/api/peerconnection.cc:1707: DestroyVideoReceiver(stream, video_track); On 2016/03/09 18:16:49, pthatcher1 wrote: > ...
4 years, 9 months ago (2016-03-09 21:22:59 UTC) #6
pthatcher1
lgtm https://codereview.webrtc.org/1765423005/diff/60001/webrtc/api/peerconnection.h File webrtc/api/peerconnection.h (right): https://codereview.webrtc.org/1765423005/diff/60001/webrtc/api/peerconnection.h#newcode172 webrtc/api/peerconnection.h:172: // RtpReceierInterface. Returns the VideoRtpReceiver, not the proxy. ...
4 years, 9 months ago (2016-03-09 21:29:04 UTC) #7
Taylor Brandstetter
lgtm; I'm very happy about this change. :) Just a couple minor comments. https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc File ...
4 years, 9 months ago (2016-03-09 22:10:41 UTC) #8
perkj_webrtc
ptal?
4 years, 9 months ago (2016-03-10 00:25:28 UTC) #9
perkj_webrtc
https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc File webrtc/api/peerconnection.cc (right): https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc#newcode1323 webrtc/api/peerconnection.cc:1323: return video_receiver; On 2016/03/09 22:10:41, Taylor Brandstetter wrote: > ...
4 years, 9 months ago (2016-03-10 00:26:38 UTC) #10
Taylor Brandstetter
On 2016/03/10 00:26:38, perkj_webrtc wrote: > https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc > File webrtc/api/peerconnection.cc (right): > > https://codereview.webrtc.org/1765423005/diff/40001/webrtc/api/peerconnection.cc#newcode1323 > ...
4 years, 9 months ago (2016-03-10 00:43:17 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765423005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765423005/100001
4 years, 9 months ago (2016-03-10 00:52:19 UTC) #14
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/10498)
4 years, 9 months ago (2016-03-10 01:37:12 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765423005/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765423005/100001
4 years, 9 months ago (2016-03-10 13:58:15 UTC) #18
commit-bot: I haz the power
Try jobs failed on following builders: linux_tsan2 on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/linux_tsan2/builds/10515)
4 years, 9 months ago (2016-03-10 14:39:31 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1765423005/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1765423005/140001
4 years, 9 months ago (2016-03-10 17:00:49 UTC) #23
perkj_webrtc
Committed patchset #8 (id:140001) manually as f0dcfe2c8143f44f07526a919d15bcf4858c6dd5 (presubmit successful).
4 years, 9 months ago (2016-03-10 17:32:14 UTC) #26
commit-bot: I haz the power
4 years, 9 months ago (2016-03-10 17:32:15 UTC) #27
Message was sent while issue was closed.
Patchset 8 (id:??) landed as
https://crrev.com/f0dcfe2c8143f44f07526a919d15bcf4858c6dd5
Cr-Commit-Position: refs/heads/master@{#11944}

Powered by Google App Engine
This is Rietveld 408576698