-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add support for Spatial Audio rendering capability queries #123
Conversation
…ation dictionary.
… of exposing a SpatialAudioFormat enum on the AudioConfiguration, we now expose a "spatialRendering" boolean.
This LGTM. @jernoble @jyavenard, want to give you a bit more time to review. |
@jernoble, @jyavenard, @mounirlamouri - Please take a look when you get a chance. |
index.bs
Outdated
presume spatialRendering is not required. When <code>true</code>, the | ||
user agent SHOULD only report this configuration as | ||
<a for=MediaCapabilitiesInfo>supported</a> if it can support spatial | ||
rendering without falling back to a non-spatial mix of the stream. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would suggest amending this to: "the user agent SHOULD only report this configuration as supported
if it can support spatial rendering for the current audio output device without failing back to a non-spatial mix of the stream."
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the suggestion @jernoble. I have pushed a change that reflects this.
This PR adds the SpatialAudioFormat enum type and a spatialFormat member to the AudioConfiguration dictionary to allow sites to query for spatial audio rendering capabilities. This addresses Issue #120
+@scottlow
+@GurpreetV
+@vi-dot-cpp
Preview | Diff