change Mode
This method can be used to change the meeting mode of the local participant.
Events:
onParticipantModeChanged— emitted on all participants when the mode changesonStreamEnabled/onStreamDisabled— emitted on the local participant if streams are added/removed due to the mode transitiononPresenterChanged— emitted withnullif the participant had an active screen share that is closed
Code Example:
// Switch to send-and-receive mode
meeting.changeMode("SEND_AND_RECV")
Content copied to clipboard
Parameters
mode
the new meeting mode — "SEND_AND_RECV", "RECV_ONLY", or "SIGNALLING_ONLY". See MeetingMode for all available modes.