Module Values.AudioMetadataSource

Metadata information about an audio stream. An array of AudioMetadata objects for the audio streams found in a stored video is returned by GetSegmentDetection.

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

    The audio codec used to encode or decode the audio stream.

    *)
  2. durationMillis : ULong.t option;
    (*

    The duration of the audio stream in milliseconds.

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

    The sample rate for the audio stream.

    *)
  4. numberOfChannels : ULong.t option;
    (*

    The number of audio channels in the segment.

    *)
}
Sourceval make : ?codec:??? -> ?durationMillis:??? -> ?sampleRate:??? -> ?numberOfChannels:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of ULong.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