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

Issue 1779063003: Refactor VideoTracks to forward all sinks to its source (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

Refactor VideoTracks to forward all sinks to its source This remove the use of VideoTrackRenderers within VideoTrack and instead all its sinks are passed to VideoSource. That means that the source will handle all sinks and can (if the source implement it) handle different SinkWants for each sink. The VideoBroadcaster is updated to produce black frames instead of as is today the deprecated VideoTrackRenderers. BUG=webrtc:5426 R=nisse@webrtc.org, pthatcher@webrtc.org Committed: https://crrev.com/d6c395441bf2866e2a99d726912292f67928999f Cr-Commit-Position: refs/heads/master@{#12028}

Patch Set 1 #

Patch Set 2 : Disable test creating a VideoTrack with null source on IOS. #

Patch Set 3 : Removed unused code. #

Total comments: 8

Patch Set 4 : Addressed comments. #

Patch Set 5 : Rebased after landing new dummy files. #

Total comments: 2

Patch Set 6 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+221 lines, -213 lines) Patch
M talk/app/webrtc/objctests/RTCPeerConnectionTest.mm View 1 1 chunk +12 lines, -8 lines 0 comments Download
M webrtc/api/api.gyp View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M webrtc/api/videotrack.h View 1 2 3 2 chunks +6 lines, -2 lines 0 comments Download
M webrtc/api/videotrack.cc View 1 2 3 2 chunks +14 lines, -13 lines 0 comments Download
M webrtc/api/videotrack_unittest.cc View 1 2 3 2 chunks +2 lines, -4 lines 0 comments Download
M webrtc/api/videotrackrenderers.h View 1 2 3 1 chunk +1 line, -41 lines 0 comments Download
M webrtc/api/videotrackrenderers.cc View 1 2 3 1 chunk +1 line, -72 lines 0 comments Download
M webrtc/media/base/fakevideorenderer.h View 4 chunks +10 lines, -2 lines 0 comments Download
M webrtc/media/base/videobroadcaster.h View 1 2 3 3 chunks +6 lines, -12 lines 0 comments Download
M webrtc/media/base/videobroadcaster.cc View 1 2 3 5 chunks +27 lines, -28 lines 0 comments Download
M webrtc/media/base/videobroadcaster_unittest.cc View 5 chunks +58 lines, -27 lines 0 comments Download
M webrtc/media/base/videosourcebase.h View 1 2 3 4 1 chunk +34 lines, -1 line 0 comments Download
M webrtc/media/base/videosourcebase.cc View 1 2 3 4 1 chunk +47 lines, -1 line 0 comments Download
M webrtc/media/base/videosourceinterface.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (10 generated)
perkj_webrtc
Can you please review?
4 years, 9 months ago (2016-03-10 17:53:56 UTC) #3
pthatcher1
https://codereview.webrtc.org/1779063003/diff/40001/webrtc/api/videotrack.cc File webrtc/api/videotrack.cc (right): https://codereview.webrtc.org/1779063003/diff/40001/webrtc/api/videotrack.cc#newcode78 webrtc/api/videotrack.cc:78: } Can we make a VideoSourceBase that implements a ...
4 years, 9 months ago (2016-03-11 20:20:18 UTC) #4
perkj_webrtc
ptal https://codereview.webrtc.org/1779063003/diff/40001/webrtc/api/videotrack.cc File webrtc/api/videotrack.cc (right): https://codereview.webrtc.org/1779063003/diff/40001/webrtc/api/videotrack.cc#newcode78 webrtc/api/videotrack.cc:78: } On 2016/03/11 20:20:17, pthatcher1 wrote: > Can ...
4 years, 9 months ago (2016-03-11 21:44:57 UTC) #5
pthatcher1
lgtm
4 years, 9 months ago (2016-03-12 01:25:59 UTC) #6
nisse-webrtc
https://codereview.webrtc.org/1779063003/diff/80001/webrtc/media/base/videobroadcaster.cc File webrtc/media/base/videobroadcaster.cc (right): https://codereview.webrtc.org/1779063003/diff/80001/webrtc/media/base/videobroadcaster.cc#newcode94 webrtc/media/base/videobroadcaster.cc:94: current_wants_ = wants; So black_frame is always ignored here? ...
4 years, 9 months ago (2016-03-16 13:43:57 UTC) #8
pthatcher1
https://codereview.webrtc.org/1779063003/diff/80001/webrtc/media/base/videobroadcaster.cc File webrtc/media/base/videobroadcaster.cc (right): https://codereview.webrtc.org/1779063003/diff/80001/webrtc/media/base/videobroadcaster.cc#newcode94 webrtc/media/base/videobroadcaster.cc:94: current_wants_ = wants; On 2016/03/16 13:43:56, nisse-webrtc wrote: > ...
4 years, 9 months ago (2016-03-16 15:14:05 UTC) #9
nisse-webrtc
lgtm
4 years, 9 months ago (2016-03-17 08:45:25 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779063003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779063003/80001
4 years, 9 months ago (2016-03-17 08:48:42 UTC) #12
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/6332)
4 years, 9 months ago (2016-03-17 09:14:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1779063003/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1779063003/100001
4 years, 9 months ago (2016-03-17 09:18:32 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: win_drmemory_light on tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/win_drmemory_light/builds/10547)
4 years, 9 months ago (2016-03-17 09:28:41 UTC) #19
commit-bot: I haz the power
Patchset 6 (id:??) landed as https://crrev.com/d6c395441bf2866e2a99d726912292f67928999f Cr-Commit-Position: refs/heads/master@{#12028}
4 years, 9 months ago (2016-03-17 09:36:01 UTC) #22
perkj_webrtc
4 years, 9 months ago (2016-03-17 09:36:01 UTC) #23
Message was sent while issue was closed.
Committed patchset #6 (id:100001) manually as
d6c395441bf2866e2a99d726912292f67928999f (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698