lib-jitsi-meet
    Preparing search index...

    Abstract class that integrates E2EEContext with a key management system.

    Hierarchy (View Summary)

    Index

    Constructors

    • Build a new KeyHandler instance, which will be used in a given conference.

      Parameters

      • conference: JitsiConference

        the current conference.

      • options: any = {}

        the options passed to {E2EEContext}, see implemention.

      Returns KeyHandler

    Properties

    _enabling: Deferred<any>
    _firstEnable: boolean
    conference: JitsiConference
    e2eeCtx: E2EEcontext
    enabled: boolean

    Methods

    • Returns the number of listeners for the specified event.

      Parameters

      • OptionaleventName: string

        The name of the event.

      Returns number

      • The number of listeners for the event.
    • Attaches a handler for events (e.g., "participant joined") in the conference. All possible events are defined in JitsiConferenceEvents.

      Parameters

      • eventId: string

        The event ID.

      • handler: EventListener

        Handler for the event.

      Returns void

    • Enables / disables End-To-End encryption.

      Parameters

      • enabled: boolean

        whether E2EE should be enabled or not.

      Returns void