MixedAudioFrameOption
rn-agora-docs › "types" › MixedAudioFrameOption
Hierarchy
- MixedAudioFrameOption
Index
Properties
Properties
sampleRate
• sampleRate: number
Defined in types.ts:455
Sets the sample rate (samplesPerSec) returned in the onMixedAudioFrame callback, which can be set as 8000, 16000, 32000, 44100, or 48000 Hz.
samplesPerCall
• samplesPerCall: number
Defined in types.ts:459
Sets the sample points (samples) returned in the onMixedAudioFrame callback. samplesPerCall is usually set as 1024 for stream pushing. samplesPerCall = (int)(samplesPerSec × sampleInterval × numChannels), where sampleInterval ≥ 0.01 in seconds.