Build a new AutomaticKeyHandler instance, which will be used in a given conference.
When E2EE is enabled it initializes sessions and sets the key. Cleans up the sessions when disabled.
whether E2EE should be enabled or not.
Adds 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.
Emits an event.
event name
Indicates whether E2EE is currently enabled or not.
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.
Enables / disables End-To-End encryption.
whether E2EE should be enabled or not.
This module integrates E2EEContext with OlmAdapter in order to distribute the keys for encryption.