lib-jitsi-meet
    Preparing search index...

    This module integrates E2EEContext with OlmAdapter in order to distribute the keys for encryption.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _conferenceJoined: boolean
    _enabling: Deferred<any>
    _firstEnable: boolean
    _key: boolean | Uint8Array<ArrayBufferLike> | Uint8Array<ArrayBuffer>
    _olmAdapter: OlmAdapter
    _ratchetKey: DebouncedFunc<{}>
    _rotateKey: DebouncedFunc<{}>
    conference: JitsiConference
    e2eeCtx: E2EEcontext
    enabled: boolean

    Accessors

    Methods

    • When E2EE is enabled it initializes sessions and sets the key. Cleans up the sessions when disabled.

      Parameters

      • enabled: boolean

        whether E2EE should be enabled or not.

      Returns void

    • 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