Codec matrix.
Probes HTMLMediaElement.canPlayType for every common video and audio codec. Tells you which streams your browser can decode natively.
'maybe' means the container is recognised but codec specifics aren't guaranteed. Cross-check with an actual playback test for production confidence.
We create temporary <video> and <audio> elements and call .canPlayType(mimeString) for each codec under test. The browser returns 'probably', 'maybe', or empty.
For finer-grained checks the modern alternative is MediaCapabilities.decodingInfo() — it returns decode performance hints (smooth, power-efficient) per resolution. Worth using in production picker logic; this page reports the simpler boolean check.