lib-jitsi-meet
    Preparing search index...

    Default XMPP implementation of the SignalingLayer interface. Obtains the data from the MUC presence.

    Hierarchy

    • default
      • SignalingLayerImpl
    Index

    Constructors

    Methods

    • Adds new cancellable listener.

      Parameters

      • eventName: string

        the name of the event

      • listener: EventListener

        the listener.

      Returns () => void

      • The unsubscribe function.
    • Emits an event.

      Parameters

      • event: string

        event name

      • ...args: any[]

      Returns void

    • Parameters

      • owner: string
      • mediaType: MediaType
      • OptionalsourceName: string

      Returns IPeerMediaInfo

    • Parameters

      • owner: string
      • sourceName: string

      Returns ISourceInfo

    • 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

    • Removes all listeners for the event emitter.

      Returns void

    • Alias for off method.

      Parameters

      • eventId: string

        The event ID.

      • Optionalhandler: EventListener

        Optional, the specific handler to unbind.

      Returns void

    • Parameters

      • ssrc: number
      • newEndpointId: string
      • newSourceName: string

      Returns void

    • Parameters

      • sourceName: string
      • muted: boolean

      Returns boolean