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

interface AudioMetadata {
    Codec?: string;
    DurationMillis?: number;
    NumberOfChannels?: number;
    SampleRate?: number;
}

Properties

Codec?: string

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

DurationMillis?: number

The duration of the audio stream in milliseconds.

NumberOfChannels?: number

The number of audio channels in the segment.

SampleRate?: number

The sample rate for the audio stream.