disableRemoteOrientation abstract method

Future<void> disableRemoteOrientation()

Calling this API to neglect the orientation of the remote users. All remote users will be considered as facing the local user.
Calling RTCSpatialAudio.updateSelfPosition then will notify none of the remote users.
However, the local user can feel the change in audio effect brought about by their own orientation change when receiving audio.

Notes:

  • You can call this API anytime before or after the local user joins the room.
  • Once the orientation is disabled by calling this API, you cannot enable it again within the lifetime of the RTCSpatialAudio instance.

Implementation

Future<void> disableRemoteOrientation();