Creates new session with the desired sip address and display name.
The sip address to use when starting the session.
The display name to use for that participant.
The chat room this session is bound to.
Optional
stateAdds 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.
Subscribes the passed listener to the event for state change of this session.
The function that will receive the event.
Emits an event.
event name
Returns the number of listeners for the specified event.
Optional
eventName: stringThe name of the event.
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.
Unsubscribes the passed handler.
The function to be removed.
Changes the state of this session.
The new {VideoSIPGWConstants} state to set.
Optional
failureReason: stringStarts a new session. Sends an iq to the focus.
Stops the current session.
Jitsi video SIP GW session. Holding its state and able to start/stop it. When session is in OFF or FAILED stated it cannot be used anymore.