Skip to main content

critical_codec_settings_match

Function critical_codec_settings_match 

Source
fn critical_codec_settings_match(
    format: &MediaFormat,
    capability_format: &MediaCodecCapability,
) -> bool
Expand description

Only settings that actually affect wire compatibility are treated as hard negotiation keys here.

Receiver preferences or advisory parameters are not all compatibility blockers because this module is trying to answer “can the formats interoperate?” rather than “are all local preferences identical?”