Class: Participant

Participant

Extends

  • EventEmitter

Type Definitions


Identity

A Participant.Identity is a string that identifies a Participant. You can think of it like a name.

Type:
  • string

SID

A Participant.SID is a 34-character string starting with "PA" that uniquely identifies a Participant.

Type:
  • string

Events


disconnected

The Participant has disconnected.

Parameters:
Name Type Description
participant Participant

The Participant that disconnected.


networkQualityLevelChanged

Parameters:
Name Type Argument Description
networkQualityLevel NetworkQualityLevel

The new NetworkQualityLevel

networkQualityStats NetworkQualityStats <nullable>

The NetworkQualityStats based on which NetworkQualityLevel is calculated, if any


reconnected

The Participant has reconnected to the Room after a signaling connection disruption.


reconnecting

The Participant is reconnecting to the Room after a signaling connection disruption.


trackDimensionsChanged

One of the Participant's VideoTrack's dimensions changed.

Parameters:
Name Type Description
track VideoTrack

The VideoTrack whose dimensions changed


trackStarted

One of the Participant's Tracks started.

Parameters:
Name Type Description
track Track

The Track that started