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.
static Future<void> setAudioOnlyMode(bool audioOnly)
@param bool audioOnly – true: audio-only call, false: audio-video call
EnxRtc.setAudioOnlyMode(true); // Move to Audio Only call