The DemoOptions model allows specifying additional options for participants joining a demo conference.



spatialAudio: spatialAudio?: boolean

Allows the local participant to change remote participants' locations and experience spatial audio. By default, this parameter is set to false. When set to true, the application must place the remote participants in a 3D space using the setSpatialPosition method.

Warning: Remote participants' audio is disabled until the participants are assigned to specific locations. We recommend calling setSpatialPosition from the participantAdded event to ensure that all participants are assigned to specific positions.