enableSpatialAudio abstract method

Future<void> enableSpatialAudio(
  1. bool enable
)

Enables/disables spatial audio function.

This method only enables the spatial audio function, you have to call RTCSpatialAudio.updateSelfPosition to set your own position coordinates before the user can really enjoy the spatial audio effect.
See Spatial Audio for more spatial audio-related APIs and call order.

Implementation

Future<void> enableSpatialAudio(bool enable);