-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Claiming a hardware decoder with play() #1
Comments
Chrome's Media Stack (c/o @sandersdan from w3c/webmediaporting#30 (comment) and w3c/webmediaporting#30 (comment))
|
To more precisely answer the questions above:
Chrome decodes the frame at the current time before reaching HAVE_CURRENT_DATA. Chrome historically required a decoder to reach HAVE_METADATA, but recently has started to avoid this when a poster image is provided.
Decode error.
Chrome may try to pause other elements in the same page. In certain race conditions, you can get a decode error.
This shouldn't be a conflict in Chrome. In certain race conditions, you can get a decode error.
On Android, Chrome suspends all media playback in background tabs. In certain race conditions, you can get a decode error.
Decode error. There's a legitimate reason web developers don't like debugging decode errors. |
Migrated from w3c/webmediaporting#30:
When
play()
is called on a media element that needs to use a hardware decoder, at which step in which algorithm does the UA attempt to “claim” that hardware decoder?What happens if the hardware decoder is being used by
If the HTML5 UA is unable to “claim” the hardware decoder, how would the method call fail and what state would the media element be left in?
The text was updated successfully, but these errors were encountered: