Holds all active MatrixRTC session objects and creates new ones as events arrive. This interface is UNSTABLE and may change without warning.

Hierarchy (view full)

Constructors

Properties

client: MatrixClient
roomSessions: Map<string, MatrixRTCSession> = ...

Methods

  • Removes all listeners, or those of the specified event.

    It is bad practice to remove listeners added elsewhere in the code, particularly when the EventEmitter instance was created by some other component or module (e.g. sockets or file streams).

    Parameters

    Returns this

    a reference to the EventEmitter, so that calls can be chained.

Generated using TypeDoc