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.
▸ audioFormat: AudioFormat
The audio format of the audio data and channel layout for the audio buffer.
▸ numberChannels: Int32
The number of channels.
▸ audioSampleRate: Int32
The sample rate of the audio samples, usually 32kHz, 44.1kHz, or 48kHz.
▸ data: UnsafeMutableRawPointer?
The mutable accessor for audio samples.
▸ dataByteSize: Int32
The number of bytes in the buffer pointed in data.
Updated 6 months ago