pub enum IabCode {
Show 21 variants
CodecForbidden,
ElectrospatialFormulationForbidden,
QuantizationBitsMissing,
QuantizationBitsInvalid,
ContainerFormatMissing,
EssenceContainerInvalid,
AudioSamplingRateMissing,
AudioSamplingRateInvalid,
SoundCompressionMissing,
SoundCompressionInvalid,
ChannelCountNotZero,
SubDescriptorMissing,
MCATagSymbolMissing,
MCATagSymbolInvalid,
MCATagNameMissing,
MCATagNameInvalid,
MCALabelDictionaryIDMissing,
MCALabelDictionaryIDInvalid,
MainAudioMissing,
IABSequenceNoResources,
IABSequenceSourceEncodingInvalid,
}Expand description
Spec-agnostic reason codes for IAB Level 0 Plug-in validation.
Passed to each edition’s for_code dispatch function to get the full
&'static str code without any runtime string building.
Variants§
CodecForbidden
IABEssenceDescriptor: Codec item shall not be present (§5.9).
ElectrospatialFormulationForbidden
IABEssenceDescriptor: ElectrospatialFormulation shall not be present (§5.9).
QuantizationBitsMissing
IABEssenceDescriptor: QuantizationBits is missing; shall be 24 (§5.9).
QuantizationBitsInvalid
IABEssenceDescriptor: QuantizationBits is present but not 24 (§5.9).
ContainerFormatMissing
IABEssenceDescriptor: ContainerFormat is missing (§5.3).
EssenceContainerInvalid
IABEssenceDescriptor: ContainerFormat is not the required IAB container UL (§5.3).
AudioSamplingRateMissing
IABEssenceDescriptor: AudioSampleRate is missing; shall be 48000/1 (§5.9).
AudioSamplingRateInvalid
IABEssenceDescriptor: AudioSampleRate is not 48000/1 (§5.9).
SoundCompressionMissing
IABEssenceDescriptor: SoundCompression is missing (§5.9).
SoundCompressionInvalid
IABEssenceDescriptor: SoundCompression is not the required IAB compression UL (§5.9).
ChannelCountNotZero
IABEssenceDescriptor: ChannelCount shall be the distinguished value 0 (§5.9, 2019 only).
SubDescriptorMissing
IABEssenceDescriptor: IABSoundfieldLabelSubDescriptor shall be present (§5.9).
MCATagSymbolMissing
IABSoundfieldLabelSubDescriptor: MCATagSymbol shall be “IAB” — missing (§5.9).
MCATagSymbolInvalid
IABSoundfieldLabelSubDescriptor: MCATagSymbol shall be “IAB” — wrong value (§5.9).
MCATagNameMissing
IABSoundfieldLabelSubDescriptor: MCATagName shall be “IAB” — missing (§5.9).
MCATagNameInvalid
IABSoundfieldLabelSubDescriptor: MCATagName shall be “IAB” — wrong value (§5.9).
MCALabelDictionaryIDMissing
IABSoundfieldLabelSubDescriptor: MCALabelDictionaryID is missing (§5.9).
MCALabelDictionaryIDInvalid
IABSoundfieldLabelSubDescriptor: MCALabelDictionaryID is not the required IAB label UL (§5.9).
MainAudioMissing
Segment has IABSequence but no MainAudioSequence (§6.2).
IABSequenceNoResources
IABSequence shall contain at least one Resource (§6.2).
IABSequenceSourceEncodingInvalid
IABSequence Resource.SourceEncoding does not reference an IABEssenceDescriptor (§6.2).