Disconnect From Room
To exit the room, simply call the disconnect function on the room object.
room.disconnect();
Ending the Meeting for All Participants
To conclude the meeting and disconnect all participants, utilize the end function on the room object.
room.end();