Optional
options: IChatRoomOptionswhen set to {@code false} will not invite Jicofo into the room.
when set to {@code false} will skip disco info. This is intended to be used only for lobby rooms.
when set to {@code false} will skip creating lobby room.
when set to {@code true} we will check identity tag for node presence.
Optional
membersOptional
visitorsAdds new cancellable listener.
the name of the event
the listener.
Alias for on method.
The event ID.
Handler for the event.
Adds new listener.
the name of the event
the listener.
Dials a number.
the number
Sends the presence unavailable, signaling the server we want to leave the room.
Optional
reason: stringEmits an event.
event name
Ends the conference for all participants.
Obtains the info about given media advertised (in legacy format) in the MUC presence of the participant identified by the given endpoint JID. This is for mantining interop with endpoints that do not support source-name signaling (Jigasi and very old mobile clients).
the endpoint ID mapped to the participant which corresponds to MUC nickname.
the type of the media for which presence info will be obtained.
presenceInfo an object with media presence info or null either if there is no presence available or if the media type given is invalid.
Returns the meeting unique ID if any came from backend.
Returns the phone number for joining the conference.
Returns the pin for joining the conference with phone.
Requests short-lived credentials for a service. The function does not use anything from the room, but the backend requires the sender to be in the room as the credentials contain the meeting ID and are valid only for the room.
Hangup an existing call
Checks if the user identified by given mucJid is the conference focus.
the full MUC address of the user to be checked.
true if MUC user is the conference focus or false if is not. When given mucJid does not exist in the MUC then null is returned.
Joins the chat room.
Optional
password: stringPassword to unlock room on joining.
Optional
replaceParticipant: booleanLeaves the room. Closes the jingle session.
Optional
reason: stringwhich is resolved if XMPPEvents.MUC_LEFT is received less than 5s after sending presence unavailable. Otherwise the promise is rejected.
Returns the number of listeners for the specified event.
Optional
eventName: stringThe name of the event.
Mutes remote participant.
of the participant
Removes event listener.
The event ID.
Optional
handler: EventListenerOptional, the specific handler to unbind.
Attaches a handler for events (e.g., "participant joined") in the conference. All possible events are defined in JitsiConferenceEvents.
The event ID.
Handler for the event.
Adds a one-time listener function for the event.
The event ID.
Handler for the event.
Removes all listeners for the event emitter.
Alias for off method.
The event ID.
Optional
handler: EventListenerOptional, the specific handler to unbind.
Removes listener.
the name of the event that triggers the listener
the listener.
Send text message to the other participants in the conference
Optional
replyToId: stringWhether this is initial presence to join the room.
Send private text message to another participant of the conference
id/muc resource of the receiver
Optional
replyToId: stringSends a reaction message to the other participants in the conference.
The reaction being sent.
The id of the message being sent.
Optional
receiverId: stringThe receiver of the message if it is private.
Sets the meeting unique Id (received from the backend).
The new meetings id.
Turns off or on the members only config for the main room.
Whether to turn it on or off.
optional callback.
optional callback.
Sets the special listener to be used for "command"s whose name starts with "jitsi_participant_".
The XMPP connection instance.