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

Issue 2356663002: Implement and use VideoTrackSource directly. (Closed)

Created:
4 years, 3 months ago by pbos
Modified:
4 years, 2 months ago
CC:
chromium-reviews, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org, jam, feature-media-reviews_chromium.org, darin-cc_chromium.org, mcasas+watch+vc_chromium.org, miu+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement and use VideoTrackSource directly. Removes dependency on PeerConnectionDependencyFactory for creating a VideoTrackSource. Also implements VideoTrackSource::needs_denoising() and wires it up to googNoiseReduction from getUserMedia(). This has less of an explicit dependency on cricket::VideoCapturer, and the intent is to remove the dependency on cricket::VideoCapturer completely as soon as the logic for AdaptFrame has been extracted. BUG=chromium:645907 R=nisse@chromium.org, hta@chromium.org, perkj@chromium.org Committed: https://crrev.com/36f03f6131cb668e175cadd2d0407d09b33c199c Cr-Commit-Position: refs/heads/master@{#420947}

Patch Set 1 #

Patch Set 2 : Use a VideoTrackSourceProxy for the local track. #

Total comments: 1

Patch Set 3 : create MockWebRtcVideoTrack directly #

Patch Set 4 : avoid instantiating PeerConnection in tests #

Total comments: 4

Patch Set 5 : spelling #

Patch Set 6 : add test TODO #

Total comments: 4

Messages

Total messages: 40 (19 generated)
pbos
PTAL, this fixes googNoiseReduction wireup. The mock for creating the local track was unused (had ...
4 years, 3 months ago (2016-09-20 00:29:29 UTC) #3
pbos
On 2016/09/20 00:29:29, pbos wrote: > PTAL, this fixes googNoiseReduction wireup. The mock for creating ...
4 years, 3 months ago (2016-09-20 00:31:28 UTC) #4
pbos
Use a VideoTrackSourceProxy for the local track.
4 years, 3 months ago (2016-09-20 02:40:29 UTC) #7
pbos
Thread-hopping is scary, I hope I got it right now, I don't believe the capture ...
4 years, 3 months ago (2016-09-20 02:44:23 UTC) #10
nisse-chromium (ooo August 14)
On 2016/09/20 00:29:29, pbos wrote: > PTAL, this fixes googNoiseReduction wireup. The mock for creating ...
4 years, 3 months ago (2016-09-20 07:28:25 UTC) #13
nisse-chromium (ooo August 14)
https://codereview.chromium.org/2356663002/diff/20001/content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc File content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc (right): https://codereview.chromium.org/2356663002/diff/20001/content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc#newcode26 content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc:26: : public webrtc::VideoTrackSource { This is where you'd inherit ...
4 years, 3 months ago (2016-09-20 08:34:09 UTC) #14
perkj_chrome
note that all public methods in the peerconnection / mediastream interfaces are supposed to be ...
4 years, 3 months ago (2016-09-20 08:43:45 UTC) #15
pbos
create MockWebRtcVideoTrack directly
4 years, 3 months ago (2016-09-20 13:17:37 UTC) #16
pbos
PTAL This would replace https://codereview.webrtc.org/2334683002/, I think it can be reverted. I thought the change ...
4 years, 3 months ago (2016-09-20 13:24:35 UTC) #17
pbos
avoid instantiating PeerConnection in tests
4 years, 3 months ago (2016-09-20 15:41:17 UTC) #22
hta - Chromium
lgtm Please add a TODO to test the passing of the denoiser constraint; there are ...
4 years, 3 months ago (2016-09-20 16:33:43 UTC) #25
pbos
PTAL https://codereview.chromium.org/2356663002/diff/60001/content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc File content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc (right): https://codereview.chromium.org/2356663002/diff/60001/content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc#newcode42 content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc:42: return needs_denoising_; On 2016/09/20 16:33:43, hta - Chromium ...
4 years, 3 months ago (2016-09-20 17:13:47 UTC) #28
pbos
spelling
4 years, 3 months ago (2016-09-20 17:13:55 UTC) #29
pbos
add test TODO
4 years, 3 months ago (2016-09-20 17:26:59 UTC) #30
pbos
On 2016/09/20 17:26:59, pbos wrote: > add test TODO Ping, woooooo! (PTAL nisse@/perkj@)
4 years, 3 months ago (2016-09-23 14:01:48 UTC) #31
nisse-chromium (ooo August 14)
LGTM. I don't understand the threading issues, though, I'll have to let Per review that. ...
4 years, 2 months ago (2016-09-26 06:51:01 UTC) #32
perkj_chrome
lgtm but would like the test to be added in this cl or very soon. ...
4 years, 2 months ago (2016-09-26 07:09:05 UTC) #33
pbos
https://codereview.chromium.org/2356663002/diff/100001/content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc File content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc (right): https://codereview.chromium.org/2356663002/diff/100001/content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc#newcode221 content/renderer/media/webrtc/media_stream_video_webrtc_sink.cc:221: // TODO(pbos): Add tests that make sure that googNoiseReduction ...
4 years, 2 months ago (2016-09-26 17:11:44 UTC) #34
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2356663002/100001
4 years, 2 months ago (2016-09-26 17:12:30 UTC) #37
commit-bot: I haz the power
Committed patchset #6 (id:100001)
4 years, 2 months ago (2016-09-26 18:45:48 UTC) #38
commit-bot: I haz the power
4 years, 2 months ago (2016-09-26 18:49:37 UTC) #40
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/36f03f6131cb668e175cadd2d0407d09b33c199c
Cr-Commit-Position: refs/heads/master@{#420947}

Powered by Google App Engine
This is Rietveld 408576698