VideoChannel

The current channel object defines the audio channel that the user is currently participating in.

Constructor

const channel = new VideoChannel(id)

Property

Required

Description

id

Yes

Unique alphanumeric channel identifier

Example VideoChannel Instantiation

const currentChannel = new VideoChannel(
  'Unique id for the channel'
}

Methods

getParticipants()

Once the user is connected to the channel, this methos returns the current list of participants in the channel.

Last updated