w3c / webcodecs

WebCodecs is a flexible web API for encoding and decoding audio and video.
https://w3c.github.io/webcodecs/
Other
939 stars 132 forks source link

Add EncodedVideoChunkInit.transfer and EncodedAudioChunkInit.transfer #728

Closed Djuffin closed 8 months ago

Djuffin commented 9 months ago

This should allow to avoid extra copies while constructing EncodedVideoChunk and EncodedAudioChunk from an ArrayBuffer

Addressing last remnants of: https://github.com/w3c/webcodecs/issues/104


Preview | Diff