2020 API AWARDS WINNER - BEST IN MEDIA APIs LEARN MORE

Participant

The Participant model includes information about the conference participant, such as the ID, status, information, and streams. It informs about participant's status change through the status event.

Events

status

status(status: ParticipantStatus): void

Emoitted when the status of the user has changed

Parameters:

NameTypeDescription
statusParticipantStatus

Returns: void

Properties

audio

audio: boolean = false

The participant's audio status.


id

id: string

The participant's ID.


info

info: ParticipantInfo = new ParticipantInfo()

The participant's informations.


status

status: ParticipantStatus

The participant's status.


streams

streams: MediaStream & VideoType[] = new Array()

The participant's streams.


type

type: ParticipantType

The participant's type.