logo
pub struct AudioDescription {
    pub audio_normalization_settings: Option<AudioNormalizationSettings>,
    pub audio_selector_name: String,
    pub audio_type: Option<String>,
    pub audio_type_control: Option<String>,
    pub codec_settings: Option<AudioCodecSettings>,
    pub language_code: Option<String>,
    pub language_code_control: Option<String>,
    pub name: String,
    pub remix_settings: Option<RemixSettings>,
    pub stream_name: Option<String>,
}
Expand description

Audio Description

Fields

audio_normalization_settings: Option<AudioNormalizationSettings>

Advanced audio normalization settings.

audio_selector_name: String

The name of the AudioSelector used as the source for this AudioDescription.

audio_type: Option<String>

Applies only if audioTypeControl is useConfigured. The values for audioType are defined in ISO-IEC 13818-1.

audio_type_control: Option<String>

Determines how audio type is determined. followInput: If the input contains an ISO 639 audioType, then that value is passed through to the output. If the input contains no ISO 639 audioType, the value in Audio Type is included in the output. useConfigured: The value in Audio Type is included in the output. Note that this field and audioType are both ignored if inputType is broadcasterMixedAd.

codec_settings: Option<AudioCodecSettings>

Audio codec settings.

language_code: Option<String>

RFC 5646 language code representing the language of the audio output track. Only used if languageControlMode is useConfigured, or there is no ISO 639 language code specified in the input.

language_code_control: Option<String>

Choosing followInput will cause the ISO 639 language code of the output to follow the ISO 639 language code of the input. The languageCode will be used when useConfigured is set, or when followInput is selected but there is no ISO 639 language code specified by the input.

name: String

The name of this AudioDescription. Outputs will use this name to uniquely identify this AudioDescription. Description names should be unique within this Live Event.

remix_settings: Option<RemixSettings>

Settings that control how input audio channels are remixed into the output audio channels.

stream_name: Option<String>

Used for MS Smooth and Apple HLS outputs. Indicates the name displayed by the player (eg. English, or Director Commentary).

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Deserialize this value from the given Serde deserializer. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more