botrefund.com
← BotRefund Home DOM Event Cascades, WebAssembly VM & Prototype Integrity Signals

Media Codec Capability Mismatch

Queries HTMLMediaElement.canPlayType() for H.264, AAC, and a 'bogus' control codec string on sessions claiming retail desktop browsers.

What we test

On sessions whose User-Agent claims a retail desktop browser (Chrome, Safari, or Edge on Windows or macOS), the script calls canPlayType() for H.264 (avc1.42E01E), AAC (mp4a.40.2), and an intentionally invalid 'bogus' MIME string.

The check triggers if licensed retail codecs report unsupported on a claimed commercial browser, or if the 'bogus' control string falsely reports playable.

Why it matters

Unbranded open-source Chromium builds—such as Chrome for Testing or Linux container builds compiled without proprietary media codecs—lack H.264 and AAC support even when spoofing Windows or macOS Google Chrome headers.

Meanwhile, poorly written stealth shims that unconditionally override canPlayType() to return 'probably' accidentally accept the invalid 'bogus' codec string.

EXPLANATION

Media Codec Checks

01 EXPECTED RESPONSE

H.264 and AAC supported while 'bogus' returns empty string

Official retail Windows and macOS Chrome, Edge, and Safari distributions include H.264/AAC decoding and reject the 'bogus' control string cleanly.

Example Browser Output H.264: probably • AAC: probably • Bogus codec: empty — Result: retail codec matrix verified
02 POSSIBLE AUTOMATION SIGNAL

Missing retail codecs or blind 'bogus' codec acceptance

Stripped open-source Chromium runners missing H.264/AAC—or naive canPlayType() mocks accepting 'bogus'—expose an inconsistent media environment.

Example Telemetry Result Claimed OS/browser: Windows Chrome • H.264: unsupported — Result: stripped or mocked codec stack

Forensic significance: Treat media codec contradictions as strong environment-integrity evidence; correlate with WebGL and high-entropy brand signals, noting that rare enterprise or custom Linux builds can restrict proprietary codecs.