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

Improve spatial audio capabilities (high channel count, surround, etc.) #828

Open
padenot opened this issue Aug 26, 2024 · 4 comments
Open
Labels
TPAC2024 For discussion at TPAC 2024

Comments

@padenot
Copy link
Collaborator

padenot commented Aug 26, 2024

For now, the support is fairly minimal and a bit inconsistent.

@padenot padenot added the TPAC2024 For discussion at TPAC 2024 label Aug 26, 2024
@aboba
Copy link
Collaborator

aboba commented Aug 26, 2024

Today, immersive/spatial capabilities are typically provided via WebAudio and container standards, such as:

So I'm curious what you think needs to be added in WebCodecs.

@padenot
Copy link
Collaborator Author

padenot commented Aug 26, 2024

Those two came to mind yes, but I was also thinking of making it clear how layouts are supported, in relation to how the Web Audio API does things, and how to handle (e.g.) Opus mapping family 255.

@juanBerger
Copy link

Opus mapping family 255.

Are you referring to this?
https://opus-codec.org/docs/opus_api-1.5/group__opus__multistream.html#details

If so I assume that means decoding multistream packets is not supported? Thanks

@tguilbert-google
Copy link
Member

If so I assume that means decoding multistream packets is not supported?

Decoding multi-stream packets is supported, as long as the appropriate description field is set.

I think that this issue is partially about mapping the channels once they are decoded? For example, channel mapping 1 (which is multistream) has standard layouts which allow good mappings to be made for spatial audio, whereas channel mapping 255 is completely arbitrary.

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

No branches or pull requests

4 participants