Skip to content
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

Define remote playback interaction with background playback policies #118

Closed
markafoltz opened this issue May 29, 2018 · 3 comments
Closed
Assignees

Comments

@markafoltz
Copy link
Contributor

From https://www.w3.org/2018/05/17-webscreens-minutes.html#x03:

If a media element is in a background or minimized tab, the user agent may stop rendering media, not allow the media element to autoplay, or render the media muted, depending on user agent policies.

This issue tracks updating the spec to describe what happens when:

  • A playing, remoted media element is put into the background and the user agent would normally stop rendering entirely or mute audio
  • A background media element prompts for remote playback

The results will depend on the implementation of remote playback. For example an implementation based on flinging should be able to continue remote playback, while implementations based on streaming may not.

There might be other scenarios I'm missing.

@markafoltz
Copy link
Contributor Author

CC @mounirlamouri

@mounirlamouri
Copy link
Member

I don't think any of these optimisations are mentioned in specs. In practice, user agents will not pause a page that's playing audible media but it's possible that remoting a media that is inaudible would have weird side effects.

I think this could be resolved with a note at the moment given that it may be based on non-specified concepts. WDYT?

@mounirlamouri mounirlamouri self-assigned this Jan 14, 2020
@markafoltz
Copy link
Contributor Author

Basically, I think it's worth an implementation note in the spec that the user agent should consider the impact of policies like background media/autoplay muted on remote playbacks, and it doesn't require any normative spec change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants