Open WofWca opened 8 months ago
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.
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?