The AVC registration for WebCodecs connects decoder configuration with the expected chunk format. When description contains an AVCDecoderConfigurationRecord, the chunk data is treated as avc format. Without description, the registration assumes Annex B. Removing setup bytes without changing the supplied framing can therefore alter the interpretation of otherwise valid H.264 data.
Keep configuration and chunks together
Imagine a demuxer extracting H.264 coded video access units and their configuration record from an MP4 source. A custom integration forwards the access units but omits the description field. The decoder-side convention now assumes another bitstream format. The codec family name has not changed, yet the input contract no longer describes the bytes the integration supplied.
Locate the required parameter sets
The registration also describes different expectations for a key chunk. In avc format, necessary parameter sets are carried in the configuration description. For an Annex B key chunk, the expected input includes the required parameter sets alongside the appropriate IDR picture. Marking a chunk key does not synthesize setup data that was discarded earlier in the pipeline.
Separate extraction from transcoding
Reframing or passing configuration is a data-preparation task; it is not automatically re-encoding the picture. A developer should identify the source representation and the decoder’s exact input requirements before choosing a transformation. Passing the complete MP4 file to an interface expecting prepared access units is another separate mismatch. Record which layer produced the bytes and which one consumes them.
Describe the evidence honestly
A useful report includes the codec string, whether description was supplied, the intended framing and the decoder error. A short original test fixture can isolate the integration, but reading this documentation is not a performed decoding test. The cited registration is a W3C Group Note Draft, and WebCodecs implementations are not required to support AVC. This yields a precise configuration-and-framing check without implying that a browser lacking AVC support can decode the resulting media merely because its configuration object parses.
