Optional loggerPrefix: PrefixFunctionOptional conferenceType: ConferenceTypeOptional webRTCMetricsServerDescription: RTCMetricsServerDescriptionPrivate #_Private #_Private #_Private #_Private #_Private #_Private #_Private #configPrivate #dPrivate #incomingPrivate #invitePrivate #ownerPrivate #vacantPrivate #waitingPrivate #wrappedProtected connectionProtected loggerProtected notifierProtected statsPrivate #applyPrivate #dPrivate #emmitPrivate #resolvePrivate #setAuthorize or fail authorization for user from waiting List
Room owner will receive RoomEvent.WAITING_LIST with WaitingListEvent
If authorized = true - user will join to the room and other participants will receive RoomEvent.JOINED with JoinedRoom. If authorized = false - user will receive error RoomError.AUTHORIZATION_FAILED
Configure waiting room
Waiting room configuration, on/off switch for now
Waiting room must be empty
flag indicates whether it's enabled or not
Destroy room
Participants will receive RoomEvent.ENDED. state will be RoomState.DISPOSED
Evict participant
Participants will receive RoomEvent.EVICTED with EvictedFromRoom.
Join the room
peer connection
Optional nickname: stringuser nickname
Optional config: { [track.id] : track content type
Optional predefinedTracksCount: numberInitial number of allocated transceivers.
Optional transportType: TransportTypeIce transport protocol. "UDP"/"TCP".
Leave room
Participants will receive RoomEvent.LEFT with LeftRoom. state will be RoomState.DISPOSED
Move user to waiting room
User will receive RoomEvent.DETACHED. Other participants will receive RoomEvent.LEFT with LeftRoom
Room owner will receive RoomEvent.WAITING_LIST with WaitingListEvent
Mute track
Participants will receive RoomEvent.MUTE_TRACKS with AddRemoveTracks
Reclaim owner rights
Participants will receive RoomEvent.ROLE_ASSIGNED with RoleAssigned
Rename participant
Participants will receive RoomEvent.PARTICIPANT_RENAMED with ParticipantRenamed.
Sending control message inside the room
Recipients will receive RoomEvent.CONTROL_MESSAGE with ControlMessageEvent
sending for all room participants, if true
Optional to: stringsending for user. Should use with broadcast = false
Set room audio muted
Participants will receive RoomEvent.ROOM_AUDIO_MUTED with boolean value and RoomEvent.PARTICIPANT_CONFIG with ParticipantConfigEvent
Set room can change nickname
Participants will receive RoomEvent.ROOM_CAN_CHANGE_NICKNAME with boolean value.
Set room chat muted
Participants will receive RoomEvent.ROOM_CHAT_MUTED with boolean value and RoomEvent.PARTICIPANT_CONFIG with ParticipantConfigEvent
Chat receive policy will be ChatReceivePolicy.EVERYONE or ChatReceivePolicy.NOBODY.
Chat members will receive SfuEvent.CHAT_UPDATED with UpdateChatEvent
Set room initial audio muted
Participants will receive RoomEvent.ROOM_INITIAL_AUDIO_MUTED with boolean value
Waiting participants will receive RoomEvent.STOP_TRACK with StopTrackEvent
Set room initial video muted
Participants will receive RoomEvent.ROOM_INITIAL_VIDEO_MUTED with boolean value
Waiting participants will receive RoomEvent.STOP_TRACK with StopTrackEvent
Set room lock
Participants will receive RoomEvent.ROOM_LOCKED with boolean value
Set participant's audio muted
Participant will receive RoomEvent.PARTICIPANT_AUDIO_MUTED with ParticipantAVSMutedEvent
Set participant's screen sharing muted
Participant will receive RoomEvent.PARTICIPANT_SCREEN_SHARING_MUTED with ParticipantAVSMutedEvent
Set participant's video muted
Participant will receive RoomEvent.PARTICIPANT_VIDEO_MUTED with ParticipantAVSMutedEvent
Set room screen sharing everyone can do subsequent share
Participants will receive RoomEvent.SCREEN_SHARING_CONFIG with RoomScreenSharingConfigEvent
if false, participants with screen sharing will receive RoomEvent.STOP_SCREEN_SHARING with StopScreenSharingEvent
Set room screen sharing everyone can share
Participants will receive RoomEvent.SCREEN_SHARING_CONFIG with RoomScreenSharingConfigEvent
Set room screen sharing multiple shares
Participants will receive RoomEvent.SCREEN_SHARING_CONFIG with RoomScreenSharingConfigEvent
if false, participants with screen sharing will receive RoomEvent.STOP_SCREEN_SHARING with StopScreenSharingEvent
Set room screen sharing muted
Participants will receive RoomEvent.ROOM_SCREEN_SHARING_MUTED with boolean value.
Participants that started screen sharing will receive RoomEvent.STOP_SCREEN_SHARING with StopScreenSharingEvent
All participants will receive RoomEvent.PARTICIPANT_CONFIG with ParticipantConfigEvent and RoomEvent.PARTICIPANT_SCREEN_SHARING_MUTED with boolean value.
Set room audio muted
Participants will receive RoomEvent.ROOM_VIDEO_MUTED with boolean value and RoomEvent.PARTICIPANT_CONFIG with ParticipantConfigEvent
Subscribe to waiting participant
Used to check waiting participant's tracks.
Subscriber will receive RoomEvent.ADD_TRACKS with AddRemoveTracks
Turn off participant's screen sharing
Participant(s) will receive RoomEvent.STOP_SCREEN_SHARING with StopScreenSharingEvent
Optional userId: stringOptional reason: stringUnsubscribe from waiting participant
Subscriber will receive RoomEvent.REMOVE_TRACKS with AddRemoveTracks
Protected update
Assign role
Used to transfer the role. The room owner will have the ParticipantRole.PARTICIPANT role.
Participants will receive RoomEvent.ROLE_ASSIGNED with RoleAssigned
New owner will receive RoomEvent.PARTICIPANT_CONFIG with ParticipantConfigEvent for each participant. The previous owner will receive RoomEvent.PARTICIPANT_CONFIG with ParticipantConfigEvent.