New issue
Advanced search Search tips

Issue 824452 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner: ----
Closed: Aug 31
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Video element drops lots of frames when currentTime is updated.

Reported by ebany...@gmail.com, Mar 21 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.186 Safari/537.36

Steps to reproduce the problem:
1. Make an HTMLVideoElement.
2. Connect it to a MediaSource with a SourceBuffer attached to a real-time stream.
3. Attempt to keep video playback at the live edge by seeking to slightly before the end of the buffer on timeupdate, if the currentTime is too far behind.

What is the expected behavior?
Playback remains smooth, maybe occasionally jumping if it's fallen too far behind for whatever reason.

What went wrong?
Our application requires extremely low latency in video processing and playback, so we have a video element connected to a media source set up to seek to a point close to the end of the buffer if it's fallen behind too far upon timeupdate. On Firefox, this works fine. Latency remains low and the stream runs smoothly. On Chromium and derivatives, however, we notice the dropped frame count steadily increasing with constant visual hitching. If we set it to try to catch up less often, we see fewer dropped frames but latency increases to about 100ms at minimum, even though we're seeking to a point 7ms behind the end of the buffer.

We're using a real-time stream here, so data is coming in at exactly the rate of playback. In practice, the stream would occasionally fall behind. Hence, the synchronization code.

I can't include a complete test case, but I will attach a copy of the timeupdate event in question from our MediaManager class.

Did this work before? N/A 

Does this work in other browsers? Yes

Chrome version: 64.0.3282.186  Channel: n/a
OS Version: 10.0
Flash Version:
 
timeupdate.ts
1.0 KB Download
Labels: Needs-Milestone

Comment 2 by and...@rainway.io, Mar 21 2018

To help tell a better story I've gone ahead and uploaded two video of sessions running in Chrome and Firefox.

https://youtu.be/5mv-J82ZVoI  -- chrome

https://youtu.be/JHN-PKhFxHI -- firefox
Cc: rbasuvula@chromium.org
Labels: TE-NeedsTriageHelp Needs-Feedback
This looks like out of scope for TE, hence adding the respective label for it to  triage further.

Some one from Blink>Media dev team please look in to this issue.

@andrew : Could you please create new profile without extensions and apps.Re-check once in latest chrome stable #66.0.3359.181 / Canary #68.0.3436.0 and let us know the observations of the issue which would help us to triage the issue further.

Thank You!
Cc: chcunningham@chromium.org dalecur...@chromium.org
OP, is this still reproducible?
Cc: mlamouri@chromium.org
Status: WontFix (was: Unconfirmed)

Sign in to add a comment