AudioMetadata Class
- java.
lang. Object - com.
azure. communication. callautomation. models. StreamingData - com.
azure. communication. callautomation. models. AudioMetadata
- com.
- com.
public final class AudioMetadata
extends StreamingData
The MediaStreamingMetadata model.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Audio |
getChannelType()
Specifies the number of audio channels in the audio configuration. |
| String |
getEncoding()
The format used to encode the audio. |
| String |
getMediaSubscriptionId()
A unique identifier for the media subscription. |
| int |
getSampleRate()
The number of samples per second in the audio. |
Methods inherited from StreamingData
Methods inherited from java.lang.Object
Method Details
getChannelType
public AudioChannelType getChannelType()
Specifies the number of audio channels in the audio configuration. Currently, only "mono" (single channel) is supported. Get the channels property.
Returns:
getEncoding
public String getEncoding()
The format used to encode the audio. Currently, only "pcm" (Pulse Code Modulation) is supported. Get the encoding property.
Returns:
getMediaSubscriptionId
public String getMediaSubscriptionId()
A unique identifier for the media subscription. Get the mediaSubscriptionId property.
Returns:
getSampleRate
public int getSampleRate()
The number of samples per second in the audio. Supported values are 16kHz or 24kHz. Get the sampleRate property.
Returns: