Leave Reason
Why a participant left a room, delivered by RoomEventListener.onRoomLeft for the local participant and RoomEventListener.onParticipantLeft for everyone else.
1001-1011 come from the server (1009 and 1010 when the REST API ended the room or removed the participant), 1101+ from the SDK itself. When the server sends no reason, onRoomLeft reports MANUAL_LEAVE_CALLED and onParticipantLeft reports UNKNOWN.
Entries
The signalling socket dropped and the session could not be resumed.
The participant was removed from the room by another participant.
The participant was removed because the viewer mode was changed.
The participant was removed because the media relay was stopped.
The participant switched to a different room.
The room was closed by the host or server.
All participants were removed from the room.
The room was ended via the REST API.
The participant was removed via the REST API.
The same participant ID joined from another device, so the server closed this one.
The app called Room.leave. Also the fallback when the server ends the session without naming a reason.
Reconnection gave up after every retry failed. The app has to join again itself.
The room was left due to a failure while joining the room.
The room was left due to a failure while switching rooms.
Properties
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared.