Class Conference

Provides access to methods for managing outgoing or incoming conferences. Conference objects are obtained calling createConference method or handling the onIncoming event of a connected ConferenceManager instance.

Hierarchy

  • Conference

Constructors

Properties

commonStream$: Observable<undefined | ManagedStream>
joinTimestampValue: undefined | number
localActionsSubject: Subject<Action> = ...
localMediaHandler: LocalMediaHandler

Allows access to local streams and actions related to changing which local media is shared

localParticipant$: Observable<undefined | ConferenceParticipant>
lock: Lock = ...
muteRequest$: Observable<boolean>
ownId: string
participantsConnectable: Connectable<ParticipantsState>
participantsMap$: Observable<ParticipantsState>
remoteParticipants$: Observable<readonly ConferenceParticipant[]>
status$: Observable<ConferenceStatus>
statusSubject: BehaviorSubject<ConferenceStatus> = ...
subscription: Subscription = ...

Accessors

  • get joinTimestamp(): undefined | number
  • The timestamp when the join to this conference was completed

    Returns undefined | number

Methods

  • Invites the voicemail to a conference

    Parameters

    • Optional mediaTypes: MediaTypes

      the media types that will be used to call the voicemail

    Returns Promise<{
        code: number;
        whoAccepted?: string;
    }>

  • Expels a participant from this conference

    Parameters

    • userId: string
    • Optional session: string

    Returns Promise<void>

  • Expels a list of participant from this conference

    Parameters

    • participants: string[]

    Returns Promise<void>

  • Invites a new participant to this conference

    Returns

    A promise with an object with two properties: SIP code (SIP code of the response) and whoAccepted (User id of the participant that accepted the invite).

    Parameters

    • participant: string

      A participant can be both an internal or an external user.

    • Optional mediaTypes: Readonly<MediaTypes>

      the MediaTypes of this invitation

    • context: Record<string, string> = {}

      Arbitrary context that can be sent when making an invite

    Returns Promise<{
        code: number;
        whoAccepted?: string;
    }>

  • Invites a list of new participant to this conference

    Parameters

    • participants: string[]
    • Optional mediaTypes: Readonly<MediaTypes>

    Returns Promise<{
        code: number;
        whoAccepted?: string;
    }[]>

  • Leaves the conference

    Parameters

    • Optional errorCode: number

      the rejection cause when an invitation is received and the conference has not been joined.

    Returns Promise<void>

  • Request a remote participant to mute their audio

    Parameters

    • to: string

      The id of the participant to mute

    • muted: boolean = true

      If true, requests the remote participant to turn off their microphone and if false to turn it on.

    Returns Promise<void>

  • Create an unattended call transfer towards a user in the system

    Parameters

    • participant: string
    • mediaTypes: Readonly<MediaTypes> = ...

      the current media types will be used if nothing is specified

    Returns Promise<void>

  • Stop local hold Republishes all previously published media, subscribes to previously subscribed media and notifies new status to other participants.

    Returns Promise<void>

Generated using TypeDoc