Share via


AudioMetadata Class

Definition

Metadata for Audio Streaming.

public class AudioMetadata : Azure.Communication.CallAutomation.StreamingData
type AudioMetadata = class
    inherit StreamingData
Public Class AudioMetadata
Inherits StreamingData
Inheritance
AudioMetadata

Properties

Channels

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

Encoding

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

Length

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

MediaSubscriptionId

A unique identifier for the media subscription.

SampleRate

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

Applies to