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

Issue 1829193003: Request frame for new sinks from MediaStreamVideoTrack (Closed)

Created:
4 years, 9 months ago by emircan
Modified:
4 years, 8 months ago
CC:
chromium-reviews, darin-cc_chromium.org, feature-media-reviews_chromium.org, jam, mcasas+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mlamouri+watch-content_chromium.org, posciak+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Request frame for new sinks from MediaStreamVideoTrack This CL adds a series of RequstFrame() calls propagated from MediaStreamVideoTrack when a new sink is added. MediaStreamVideoTrack -> MediaStreamVideoCapturerSource which is a MediaStreamVideoSource -> media::VideoCapturerSource This addresses the issues when a new sink is added but doesn't receive a frame because it wasn't added on time. BUG=597876, 587789, 486274 Committed: https://crrev.com/dbe511aa9eea169722b239f82174850df2185eff Cr-Commit-Position: refs/heads/master@{#383421}

Patch Set 1 : Early design: Track holds onto frame. #

Patch Set 2 : Propogate RequestFrame() calls. #

Total comments: 2

Patch Set 3 : miu@ comments. #

Total comments: 2

Patch Set 4 : miu@ nit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+97 lines, -2 lines) Patch
M content/renderer/media/canvas_capture_handler.h View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M content/renderer/media/canvas_capture_handler.cc View 1 2 4 chunks +19 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_capturer_source_unittest.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_source.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_track.cc View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M content/renderer/media/media_stream_video_track_unittest.cc View 1 2 2 chunks +26 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_video_source.h View 1 2 3 chunks +6 lines, -0 lines 0 comments Download
M content/renderer/media/mock_media_stream_video_source.cc View 1 2 3 chunks +18 lines, -2 lines 0 comments Download
M media/base/video_capturer_source.h View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (15 generated)
emircan
PTAL.
4 years, 9 months ago (2016-03-25 00:19:01 UTC) #7
miu
https://codereview.chromium.org/1829193003/diff/100001/media/base/video_capturer_source.h File media/base/video_capturer_source.h (right): https://codereview.chromium.org/1829193003/diff/100001/media/base/video_capturer_source.h#newcode82 media/base/video_capturer_source.h:82: virtual void RequestFrame() {} 1. Can we name this ...
4 years, 8 months ago (2016-03-25 22:05:06 UTC) #11
emircan
https://codereview.chromium.org/1829193003/diff/100001/media/base/video_capturer_source.h File media/base/video_capturer_source.h (right): https://codereview.chromium.org/1829193003/diff/100001/media/base/video_capturer_source.h#newcode82 media/base/video_capturer_source.h:82: virtual void RequestFrame() {} 1) Done. I was trying ...
4 years, 8 months ago (2016-03-25 23:18:41 UTC) #12
miu
lgtm https://codereview.chromium.org/1829193003/diff/120001/media/base/video_capturer_source.h File media/base/video_capturer_source.h (right): https://codereview.chromium.org/1829193003/diff/120001/media/base/video_capturer_source.h#newcode80 media/base/video_capturer_source.h:80: // a continuous rate of new frames(e.g. canvas ...
4 years, 8 months ago (2016-03-25 23:22:24 UTC) #13
emircan
Thanks. https://codereview.chromium.org/1829193003/diff/120001/media/base/video_capturer_source.h File media/base/video_capturer_source.h (right): https://codereview.chromium.org/1829193003/diff/120001/media/base/video_capturer_source.h#newcode80 media/base/video_capturer_source.h:80: // a continuous rate of new frames(e.g. canvas ...
4 years, 8 months ago (2016-03-25 23:34:16 UTC) #14
emircan
Adding dalecurtis@ for OWNERS review.
4 years, 8 months ago (2016-03-25 23:35:12 UTC) #16
DaleCurtis
rs lgtm
4 years, 8 months ago (2016-03-25 23:40:06 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1829193003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1829193003/140001
4 years, 8 months ago (2016-03-26 00:35:35 UTC) #21
commit-bot: I haz the power
Committed patchset #4 (id:140001)
4 years, 8 months ago (2016-03-26 00:46:12 UTC) #23
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/dbe511aa9eea169722b239f82174850df2185eff Cr-Commit-Position: refs/heads/master@{#383421}
4 years, 8 months ago (2016-03-26 00:47:04 UTC) #25
philipj_slow
4 years, 8 months ago (2016-03-29 08:48:51 UTC) #26
Message was sent while issue was closed.
Is there an issue to make the matching change to the spec? If this CL does what
I think it does, it's the opposite of how I thought
https://github.com/w3c/mediacapture-fromelement/issues/29 was going to be
resolved.

Powered by Google App Engine
This is Rietveld 408576698