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

rewrite with WebCodecs API (low-level access to frames and audio samples) #167

Open
WofWca opened this issue Mar 11, 2024 · 1 comment
Open

Comments

@WofWca
Copy link
Owner

WofWca commented Mar 11, 2024

Just found out about it, damn

https://w3c.github.io/webcodecs/#audiodecoder-interface
https://developer.mozilla.org/en-US/docs/Web/API/WebCodecs_API

I haven't checked how it all works, just read the description. Is it the proper way to write this extension?

@WofWca
Copy link
Owner Author

WofWca commented Jul 13, 2024

I checked this out a bit. What I think we want is AudioData.copyTo

But I'm just not sure when this can be useful for us, except for potential performance gain.
If you think about HTMLVideoElement, all it has is src and srcObject, and we can already handle all the cases except for MediaSourceHandle for the cloning algorithm.

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