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

Add support for Spatial Audio rendering capability queries #123

Merged
merged 4 commits into from
Aug 27, 2019

Conversation

isuru-c-p
Copy link

@isuru-c-p isuru-c-p commented Jul 18, 2019

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

… of exposing a SpatialAudioFormat enum on the AudioConfiguration, we now expose a "spatialRendering" boolean.
index.bs Outdated Show resolved Hide resolved
index.bs Outdated Show resolved Hide resolved
@chcunningham
Copy link
Contributor

This LGTM. @jernoble @jyavenard, want to give you a bit more time to review.

@isuru-c-p
Copy link
Author

@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.
Copy link
Contributor

@jernoble jernoble Aug 23, 2019

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."

Copy link
Contributor

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.

@chcunningham chcunningham merged commit ce36bfe into w3c:master Aug 27, 2019
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

Successfully merging this pull request may close these issues.

6 participants