If you want change to a audio-only call, i.e. you neither want to receive anyone’s video not want to publish your video; you may use setAudioOnlyMode() method. This method acts as a toggle to switch between audio-only and audio-video call.

This opt-in is only for the specific End-Point and doesn’t affect others in the room.

Method: static Future<void> setAudioOnlyMode(bool audioOnly)

Parameter: @param bool audioOnlytrue: audio-only call, false: audio-video call

EnxRtc.setAudioOnlyMode(true); // Move to Audio Only call