Package version:

Audio streaming metadata.

interface AudioMetadata {
    channels: Channel;
    encoding: string;
    length: number;
    sampleRate: number;
    subscriptionId: string;
}

Properties

channels: Channel

Specifies the number of audio channels in the audio configuration. Currently, only "mono" (single channel) is supported.

encoding: string

The format used to encode the audio. Currently, only "pcm" (Pulse Code Modulation) is supported.

length: number

The size of the audio data being sent, based on the sample rate and duration.

sampleRate: number

The number of samples per second in the audio. Supported values are 16kHz or 24kHz.

subscriptionId: string

Audio streaming subscription id.