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

Issue 2964863002: Change VideoTrack implementation to invoke VideoTrackSourceInterface::AddOrUpdateSink on wt (Closed)

Created:
3 years, 5 months ago by perkj_webrtc
Modified:
3 years, 5 months ago
CC:
webrtc-reviews_webrtc.org, tterriberry_mozilla.com
Target Ref:
refs/heads/master
Project:
webrtc
Visibility:
Public.

Description

Change VideoTrack implementation to invoke VideoTrackSourceInterface::AddOrUpdateSink on the worker thread. Added documentation of thread expectations for video tracks and sources to the API. BUG=None Review-Url: https://codereview.webrtc.org/2964863002 Cr-Commit-Position: refs/heads/master@{#18938} Committed: https://chromium.googlesource.com/external/webrtc/+/f1377f722271b4b5a090d4dba10201031d31f20d

Patch Set 1 #

Total comments: 3

Patch Set 2 : Changed VideoTrack to invoke changing the sink wants on the worker thread. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -35 lines) Patch
M webrtc/api/mediastreaminterface.h View 1 3 chunks +11 lines, -6 lines 0 comments Download
M webrtc/ortc/ortcfactory.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/mediastream_unittest.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M webrtc/pc/peerconnectionfactory.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M webrtc/pc/peerconnectioninterface_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/pc/rtcstatscollector_unittest.cc View 1 1 chunk +5 lines, -0 lines 0 comments Download
M webrtc/pc/rtpreceiver.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/rtpsenderreceiver_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M webrtc/pc/statscollector_unittest.cc View 1 2 chunks +4 lines, -2 lines 0 comments Download
M webrtc/pc/trackmediainfomap_unittest.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
M webrtc/pc/videotrack.h View 1 2 chunks +6 lines, -3 lines 0 comments Download
M webrtc/pc/videotrack.cc View 1 5 chunks +16 lines, -13 lines 0 comments Download
M webrtc/pc/videotrack_unittest.cc View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 32 (18 generated)
perkj_webrtc
WDYT?
3 years, 5 months ago (2017-07-05 05:44:20 UTC) #7
Taylor Brandstetter
https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc File webrtc/pc/peerconnectionfactory.cc (left): https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc#oldcode255 webrtc/pc/peerconnectionfactory.cc:255: rtc::scoped_refptr<VideoTrackSourceInterface> source( Hmm... I don't know if it's safe ...
3 years, 5 months ago (2017-07-05 23:13:40 UTC) #8
perkj_webrtc
https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc File webrtc/pc/peerconnectionfactory.cc (left): https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc#oldcode255 webrtc/pc/peerconnectionfactory.cc:255: rtc::scoped_refptr<VideoTrackSourceInterface> source( On 2017/07/05 23:13:40, Taylor Brandstetter wrote: > ...
3 years, 5 months ago (2017-07-06 15:08:20 UTC) #9
Taylor Brandstetter
https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc File webrtc/pc/peerconnectionfactory.cc (left): https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc#oldcode255 webrtc/pc/peerconnectionfactory.cc:255: rtc::scoped_refptr<VideoTrackSourceInterface> source( On 2017/07/06 15:08:20, perkj_webrtc wrote: > On ...
3 years, 5 months ago (2017-07-06 22:24:05 UTC) #10
perkj_webrtc
On 2017/07/06 22:24:05, Taylor Brandstetter wrote: > https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc > File webrtc/pc/peerconnectionfactory.cc (left): > > https://codereview.webrtc.org/2964863002/diff/1/webrtc/pc/peerconnectionfactory.cc#oldcode255 ...
3 years, 5 months ago (2017-07-07 08:37:59 UTC) #12
Taylor Brandstetter
lgtm. Noah, do you expect any problems with this?
3 years, 5 months ago (2017-07-07 16:02:02 UTC) #17
noahric
On 2017/07/07 16:02:02, Taylor Brandstetter wrote: > lgtm. Noah, do you expect any problems with ...
3 years, 5 months ago (2017-07-07 16:42:31 UTC) #19
yujo
On 2017/07/07 16:42:31, noahric wrote: > On 2017/07/07 16:02:02, Taylor Brandstetter wrote: > > lgtm. ...
3 years, 5 months ago (2017-07-07 17:58:33 UTC) #20
perkj_webrtc
On 2017/07/07 17:58:33, yujo wrote: > On 2017/07/07 16:42:31, noahric wrote: > > On 2017/07/07 ...
3 years, 5 months ago (2017-07-07 20:04:36 UTC) #21
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/2964863002/20001
3 years, 5 months ago (2017-07-07 20:05:16 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: presubmit on master.tryserver.webrtc (JOB_FAILED, http://build.chromium.org/p/tryserver.webrtc/builders/presubmit/builds/19020)
3 years, 5 months ago (2017-07-07 20:11:44 UTC) #25
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/2964863002/20001
3 years, 5 months ago (2017-07-07 23:35:14 UTC) #28
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/external/webrtc/+/f1377f722271b4b5a090d4dba10201031d31f20d
3 years, 5 months ago (2017-07-07 23:38:39 UTC) #31
mbonadei
3 years, 5 months ago (2017-07-10 09:08:52 UTC) #32
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.webrtc.org/2979493003/ by mbonadei@webrtc.org.

The reason for reverting is: It breaks a downstream project..

Powered by Google App Engine
This is Rietveld 408576698