Module Values.Mp2SettingsSource

Required when you set Codec to the value MP2.

Sourcetype nonrec t = {
  1. audioDescriptionMix : Mp2AudioDescriptionMix.t option;
    (*

    Choose BROADCASTER_MIXED_AD when the input contains pre-mixed main audio + audio description (AD) as a stereo pair. The value for AudioType will be set to 3, which signals to downstream systems that this stream contains "broadcaster mixed AD". Note that the input received by the encoder must contain pre-mixed audio; the encoder does not perform the mixing. When you choose BROADCASTER_MIXED_AD, the encoder ignores any values you provide in AudioType and FollowInputAudioType. Choose NONE when the input does not contain pre-mixed audio + audio description (AD). In this case, the encoder will use any values you provide for AudioType and FollowInputAudioType.

    *)
  2. bitrate : int option;
    (*

    Specify the average bitrate in bits per second.

    *)
  3. channels : int option;
    (*

    Set Channels to specify the number of channels in this output audio track. Choosing Follow input will use the number of channels found in the audio source; choosing Mono will give you 1 output channel; choosing Stereo will give you 2. In the API, valid values are 0, 1, and 2.

    *)
  4. sampleRate : int option;
    (*

    Sample rate in Hz.

    *)
}
Sourceval make : ?audioDescriptionMix:??? -> ?bitrate:??? -> ?channels:??? -> ?sampleRate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of int ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t