demo · v136
Codec String Builder
The H.26x MIME strings are notoriously hairy — avc1.42E01E vs. avc3.640028 vs. hev1.1.6.L93.B0. Pick a family, profile, level, tier, and parameter-set mode; the builder emits the full type string and runs it through MediaRecorder.isTypeSupported() in real time.
Note: the recorder calls only succeed on platforms with a matching hardware/software path. Codec strings with
avc3/hev1 require Chrome 136+ for the MediaRecorder mid-stream resolution path.
MediaRecorder.isTypeSupported()—
MediaSource.isTypeSupported() (playback)—
HTMLMediaElement.canPlayType()—