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

What is the scope and defaulting rules of an AudioSession #4

Open
youennf opened this issue Nov 8, 2022 · 1 comment
Open

What is the scope and defaulting rules of an AudioSession #4

youennf opened this issue Nov 8, 2022 · 1 comment
Labels
TPAC2024 Topic for discussion at TPAC 2024

Comments

@youennf
Copy link

youennf commented Nov 8, 2022

If top level frame has set an audio session, it will be used by its HTMLMediaElements (if HTMLMediaElements do not have an explicit audio session).
What about same origin iframes of this top level frame, if they do not have set an audio session themselves?

@chrisn chrisn added the TPAC2024 Topic for discussion at TPAC 2024 label Aug 1, 2024
@youennf
Copy link
Author

youennf commented Sep 19, 2024

Tentative TPAC 2024 proposal:

  • Consider each context has a default audioSession that applies by default to all elements of the context.
  • Individual elements can override the default audioSession with constructed ones (or the default of another same origin context).
  • Use iframes hierarchy as audioSession hierarchy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TPAC2024 Topic for discussion at TPAC 2024
Projects
None yet
Development

No branches or pull requests

2 participants