endSession()
Ends the session for everyone. All users are immediately removed from the room and the call ends.
This method ends the whole call and everyone is removed from the room.
For only the local user to leave the session - use the leaveSession method instead.
Sample use case: You want moderators to be able to end calls by clicking a custom button in your integration.
Last updated