This class implements a Conferences module that provides access to conference management methods.

Events

  • incomingConference: Fired when an invitation to a conference is received.

Constructors

Properties

conferences: Record<string, Conference> = {}

Conference collection, indexed by id

dependencies: Dependencies = {}
incomingConference$: Observable<[Conference, MediaTypes]>
incomingConferenceSubject: Subject<[Conference, MediaTypes]> = ...
session: null | Session = null

Server client

transferredConference$: Observable<[Conference, MediaTypes]>
transferredConferenceSubject: Subject<[Conference, MediaTypes]> = ...

Methods

  • Initialize conferences module. Get any room where user participates from server and create Conference elements with them. It also listens for new rooms notified by server.

    Parameters

    • session: Session

      associated signaling session.

    Returns Promise<void>

  • Suspend conferences:

    • cancel any pending invitation request sent.
    • update internally any received invitation request to canceled.
    • suspend any managed conference.

    Returns Promise<void>