AudioFrame
The AudioFrame model represents the local participant's audio frame with audio samples and metadata.
The model is supported in SDK 3.9 and later.
Accessors
audioFormat
▸ audioFormat: AudioFormat
The audio format of the audio data and channel layout for the audio buffer.
numberChannels
▸ numberChannels: Int32
The number of channels.
audioSampleRate
▸ audioSampleRate: Int32
The sample rate of the audio samples, usually 32kHz, 44.1kHz, or 48kHz.
data
▸ data: UnsafeMutableRawPointer?
The mutable accessor for audio samples.
dataByteSize
▸ dataByteSize: Int32
The number of bytes in the buffer pointed in data.
Updated 6 months ago