This sample combines WebCodecs and WebAudio to create a media player that renders synchronized audio and video.

Check out the Video Decoding and Display demo for a simpler introduction to video decoding and rendering. View this video presentation for an overview of audio rendering stack.

This sample requires cross origin isolation to use SharedArrayBuffer. You may use node server.js to host this sample locally with the appropriate HTTP headers.