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

Explainer on relationship between mediaSession and audioSession #17

Open
lucas42 opened this issue Jun 7, 2024 · 0 comments
Open

Explainer on relationship between mediaSession and audioSession #17

lucas42 opened this issue Jun 7, 2024 · 0 comments

Comments

@lucas42
Copy link

lucas42 commented Jun 7, 2024

Given the naming of mediaSession and audioSession, I think it would be useful for their explainers to mention each other and explain the differences.

For people familiar with older web standards, but approaching these two for the first time, the naming can be quite confusing.
For example, HTMLAudioElement and HTMLVideoElement both inherit from HTMLMediaElement. So newcomers may assume that audioSession inherits from mediaSession in a similar fashion. But it appears that quite reasonable assumption is incorrect.

If these newer APIs are going to deviate from long-standing convention, then it would be useful for explainers to draw attention to that fact explicitly.

@tidoust tidoust transferred this issue from w3c/audio-session-fork Oct 14, 2024
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

1 participant