enableSoundPositionIndication abstract method

Future<void> enableSoundPositionIndication(
  1. bool enabled
)

Enables or disables stereo panning for remote users.

Ensure that you call this method before joining a channel to enable stereo panning for remote users so that the local user can track the position of a remote user by calling setRemoteVoicePosition.

  • enabled Whether to enable stereo panning for remote users: true : Enable stereo panning. false : Disable stereo panning.

Returns When the method call succeeds, there is no return value; when fails, the AgoraRtcException exception is thrown. You need to catch the exception and handle it accordingly.

Implementation

Future<void> enableSoundPositionIndication(bool enabled);