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

Issue 432903002: Change a disabled MediaStreamVideoTrack to output black video frames for each incoming frame. (Closed)

Created:
6 years, 4 months ago by perkj_chrome
Modified:
6 years, 4 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org, jam, wjia+watch_chromium.org, mcasas+watch_chromium.org, darin-cc_chromium.org
Project:
chromium
Visibility:
Public.

Description

Change a disabled MediaStreamVideoTrack to output black video frames for each incoming frame. The frame provided to the track is unchanged. Instead a black frame with the same timestamp is created and forwarded to the sinks. Please see the bug and the discussion in https://groups.google.com/forum/#!topic/discuss-webrtc/nZWA0prohio for rational. BUG=398844 TEST= open https://apprtc.appspot.com in two tabs to create a call. Hit Ctrl-shift-e in the first tab to disable the local video track. Notice that local video is black. Open the second tab and notice that the remote video is black. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287787

Patch Set 1 #

Patch Set 2 : rebased #

Total comments: 8

Patch Set 3 : Addressed Tommis comments. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -24 lines) Patch
M content/renderer/media/media_stream_video_track.cc View 1 2 5 chunks +27 lines, -4 lines 0 comments Download
M content/renderer/media/media_stream_video_track_unittest.cc View 1 2 3 chunks +12 lines, -12 lines 0 comments Download
M content/renderer/media/mock_media_stream_video_sink.h View 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_video_sink.cc View 1 chunk +1 line, -0 lines 0 comments Download
M content/renderer/media/rtc_video_renderer.h View 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/media/rtc_video_renderer.cc View 2 chunks +1 line, -7 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
perkj_chrome
6 years, 4 months ago (2014-07-31 20:19:37 UTC) #1
perkj_chrome
Hej Can you please review? If its not too much work I will try to ...
6 years, 4 months ago (2014-07-31 20:20:55 UTC) #2
tommi (sloooow) - chröme
https://codereview.chromium.org/432903002/diff/20001/content/renderer/media/media_stream_video_track.cc File content/renderer/media/media_stream_video_track.cc (right): https://codereview.chromium.org/432903002/diff/20001/content/renderer/media/media_stream_video_track.cc#newcode23 content/renderer/media/media_stream_video_track.cc:23: // is disabled, a black frame is instead forwarded ...
6 years, 4 months ago (2014-08-05 09:50:46 UTC) #3
perkj_chrome
PTAL https://codereview.chromium.org/432903002/diff/20001/content/renderer/media/media_stream_video_track.cc File content/renderer/media/media_stream_video_track.cc (right): https://codereview.chromium.org/432903002/diff/20001/content/renderer/media/media_stream_video_track.cc#newcode23 content/renderer/media/media_stream_video_track.cc:23: // is disabled, a black frame is instead ...
6 years, 4 months ago (2014-08-06 12:32:22 UTC) #4
tommi (sloooow) - chröme
lgtm
6 years, 4 months ago (2014-08-06 13:16:58 UTC) #5
perkj_chrome
The CQ bit was checked by perkj@chromium.org
6 years, 4 months ago (2014-08-06 14:16:51 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/perkj@chromium.org/432903002/40001
6 years, 4 months ago (2014-08-06 14:17:33 UTC) #7
commit-bot: I haz the power
6 years, 4 months ago (2014-08-06 16:45:02 UTC) #8
Message was sent while issue was closed.
Change committed as 287787

Powered by Google App Engine
This is Rietveld 408576698