setAudioReceiveRange abstract method
- ZegoReceiveRangeParam param
Set the configuration of the audio receiving range.
Available since: 3.7.0
Description: Set the audio receiving range, the audio source sound beyond this range will not be received.
Use case: Set the receiver's receiving range in the World
mode.
Default value: When this function is not called, only the voices of the members in the team can be received, and all voices outside the team cannot be received.
When to call: After initializing the range audio createRangeAudio
.
Restrictions: This range only takes effect for people outside the team.
param
Configuration of audio receiving range.- Returns Error code, please refer to the error codes document https://doc-en.zego.im/en/5548.html for details.
Implementation
Future<int> setAudioReceiveRange(ZegoReceiveRangeParam param);