setAudioReceiveRange abstract method

Future<int> setAudioReceiveRange(
  1. 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.

Implementation

Future<int> setAudioReceiveRange(ZegoReceiveRangeParam param);