New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 618407 link

Starred by 2 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Bug

Blocked on:
issue 806366



Sign in to add a comment

Screen capturers don't set VideoFrame timestamp and REFERENCE_TIME correctly

Project Member Reported by m...@chromium.org, Jun 8 2016

Issue description

When reviewing a recent code change (https://codereview.chromium.org/2045813003/), it became obvious that the screen capturers are not setting the timestamp fields correctly. This needs to be fixed.

Furthermore, we need to evaluate whether downstream consumers (e.g., Cast Streaming, WebRTC, Media Element Capture, etc.) are operating on the timing information correctly. It's likely this work would help to improve A/V sync performance tests in the waterfall.
 

Comment 1 by mcasas@chromium.org, Jun 21 2016

Status: Assigned (was: Available)
Cc: mcasas@chromium.org
Any detail?

I think at [1] we pass the REFERENCE_TIME and timestamp into OnIncomingCapturedData, which I cannot see an error.

[1]https://cs.chromium.org/chromium/src/content/browser/media/capture/desktop_capture_device.cc?sq=package:chromium&l=317

Comment 3 by x...@chromium.org, Jul 14 2016

Cc: x...@chromium.org
I think we do set the REFERENCE_TIME, but not the timestamp in ThreadSafeCaptureOracle::DidCaptureFrame(). 

We might just set the difference between current |reference_time| and the first seen |reference_time| as the timestamp for successively captured frames. 

Yuri, does this sgty? If yes, I can go ahead with this fix.

Comment 4 by m...@chromium.org, Feb 1 2018

Components: Internals>Media>Capture

Comment 5 by m...@chromium.org, Feb 7 2018

Components: Internals>Media>ScreenCapture

Comment 6 by m...@chromium.org, Feb 7 2018

Components: -Internals>Media>Capture

Comment 7 by amp@chromium.org, Apr 10 2018

Blockedon: 806366

Comment 8 by amp@chromium.org, Apr 10 2018

Labels: -M-54

Sign in to add a comment