# Codec Licensing & Software Decoder Guardrails Policy ## Overview & Scope `media-runtime` is built on a strict hardware-first, zero-copy architecture. To protect downstream integrators and the media-runtime ecosystem from patent licensing claims and royalty exposure, this repository enforces explicit guardrails around software/WASM decoders and encoders. --- ## 1. Hardware-Only Codecs (Strictly Prohibited in WASM/Software) The following codecs belong to patent licensing pools (such as MPEG-LA, Via Licensing, Velos Media, Access Advance, etc.) and MUST NEVER be compiled or distributed as WASM software decoders/encoders in `@media-runtime/*` packages: - **H.264 / AVC** (`avc1.*`) - **H.265 / HEVC** (`hev1.*`, `hvc1.*`) - **AC-3 / Dolby Digital** - **E-AC-3 / Dolby Digital Plus** - **DTS / DTS-HD** ### Mandatory Decoder Resolution Strategy for Patented Codecs: 1. **WebCodecs API** (`VideoDecoder.isConfigSupported`, `AudioDecoder`) using underlying OS/hardware decoders. 2. **Native HTML5 `