MediaDecodingType
MediaDecodingType:
"file" | "media-source" | "webrtc"
A MediaDecodingConfiguration has three types:
- file: represents a configuration that is meant to be used for a plain file playback.
- media-source: represents a configuration that is meant to be used for playback of a MediaSource as defined in the [media-source] specification.
- webrtc: represents a configuration that is meant to be received using RTCPeerConnection as defined in [webrtc]).
https://w3c.github.io/media-capabilities/#mediadecodingtype
Last updated: Jul 22, 2026

