Screen capturers don't set VideoFrame timestamp and REFERENCE_TIME correctly |
||||||||
Issue descriptionWhen 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.
,
Jun 21 2016
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
,
Jul 14 2016
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.
,
Feb 1 2018
,
Feb 7 2018
,
Feb 7 2018
,
Apr 10 2018
,
Apr 10 2018
|
||||||||
►
Sign in to add a comment |
||||||||
Comment 1 by mcasas@chromium.org
, Jun 21 2016