The query the reference reads from each payload, this platform's Media Capabilities and WebCodecs answers to it, a decode through WebCodecs, and the default order those answers give (extensions/platform-decode.md).

running