Module Values.AudioConfigurationSource

Object specifying a stream’s audio configuration, as set up by the broadcaster (usually in an encoder). This is part of the IngestConfigurations object and the deprecated IngestConfiguration object. It is used for monitoring stream health.

Sourcetype nonrec t = {
  1. codec : String_.t option;
    (*

    Codec used for the audio encoding.

    *)
  2. targetBitrate : Integer.t option;
    (*

    The expected ingest bitrate (bits per second). This is configured in the encoder.

    *)
  3. sampleRate : Integer.t option;
    (*

    Number of audio samples recorded per second.

    *)
  4. channels : Integer.t option;
    (*

    Number of audio channels.

    *)
  5. track : String_.t option;
    (*

    Name of the audio track (if the stream has an audio track). If multitrack is not enabled, this is Track0 (the sole track).

    *)
}
Sourceval make : ?codec:??? -> ?targetBitrate:??? -> ?sampleRate:??? -> ?channels:??? -> ?track:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Integer.t | `String of String_.t ]) 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