w3c / webcodecs

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

is there some samples to decode the audio raw bitstream by webcodecs ? #445

Closed yangfangfang1204 closed 2 years ago

yangfangfang1204 commented 2 years ago

https://w3c.github.io/webcodecs/samples/

these samples are all decode the video data , so if there is some samples to decode the audio raw bitstream by webcodecs ?

chcunningham commented 2 years ago

we don't have one in the samples/ folder yet, but see here for audio decoding (and rendering via AudioWorklet).

https://github.com/chcunningham/wc-talk#simple_video_playerhtml-live-demo

please reopen if you have any follow up questions