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

Issue 2603533002: Tab (and AuraWindow) Capture: Capture refresh frame after Resume() (Closed)

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

Description

Tab (and AuraWindow) Capture: Capture refresh frame after Resume() Adds a refresh frame capture upon Resume(). This solves a problem where the tab capture device can be suspended for a significant length of time and then resumed; but if the content of the tab isn't changing when the resume takes place, no compositor events will be firing to cause any new frames to be captured. Thus, the content in the video stream could be very stale. Issuing a refresh frame capture guarantees the video stream will be up-to-date immediately after a resume. BUG=643964 Committed: https://crrev.com/0a1661e31160d9dd7c020383702fad19e0d12e54 Cr-Commit-Position: refs/heads/master@{#440792}

Patch Set 1 #

Patch Set 2 : Account for behavior change in unit tests. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -3 lines) Patch
M content/browser/media/capture/aura_window_capture_machine.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device.cc View 1 chunk +3 lines, -0 lines 0 comments Download
M content/browser/media/capture/web_contents_video_capture_device_unittest.cc View 1 1 chunk +5 lines, -3 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
miu
xjz: PTAL.
3 years, 12 months ago (2016-12-22 23:49:39 UTC) #2
xjz
lgtm
3 years, 12 months ago (2016-12-23 00:13:58 UTC) #3
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/2603533002/1
3 years, 12 months ago (2016-12-23 00:29:17 UTC) #5
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/359794)
3 years, 12 months ago (2016-12-23 00:58:06 UTC) #7
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/2603533002/20001
3 years, 11 months ago (2016-12-27 21:11:10 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
3 years, 11 months ago (2016-12-27 21:54:26 UTC) #13
cmumford
A revert of this CL (patchset #2 id:20001) has been created in https://codereview.chromium.org/2604833003/ by cmumford@chromium.org. ...
3 years, 11 months ago (2016-12-27 23:56:49 UTC) #14
commit-bot: I haz the power
3 years, 11 months ago (2017-01-02 15:47:24 UTC) #16
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0a1661e31160d9dd7c020383702fad19e0d12e54
Cr-Commit-Position: refs/heads/master@{#440792}

Powered by Google App Engine
This is Rietveld 408576698