Meeting Class Properties - Javascript
id
-
type:
String
-
Unique id of the meeting where the participant has joined.
activeSpeakerId
-
type:
String
-
It will be the
id
of the participant who is actively speaking in the meeting. If no participant is speaking, at that time value ofactiveSpeakerId
will benull
.
activePresenterId
-
type:
String
-
It will be the
id
of the participant who startedPresenting
/Screen sharing
in the meeting. If no participant is sharing the screen, at that time value ofactivePresenterId
will benull
.
hlsUrls
- type :
Object
- playbackHlsUrl:
String
- livestreamUrl:
String
- playbackHlsUrl:
hlsUrls
will proide all the URLs for the ongoing meeting HLS.
downstreamUrl
is now depecated. Use playbackHlsUrl
or livestreamUrl
in place of downstreamUrl
hlsState
- type :
string
hlsState
will be the current state of the meeting HLS.
livestreamState
- type :
string
livestreamState
will be the current state of the meeting Livestream.
recordingState
- type :
string
recordingState
will be the current state of the meeting recording.
localParticipant
-
type: Participant
-
It will be the instance of Participant class for the local participant(You) who joined the meeting.
participants
-
type:
Map
of Participant -
Map<String, Participant>
- Map<
participantId
, Participant>
- Map<
-
It will contain all joined participants in the meeting except the
localParticipant
. -
This will be the
Map
what will container all participants attached with the key as id of that participant.
const remoteParticipantId = "ajf897";
const remoteParticipant = participants.get(remoteParticipantId);
selectedCameraDevice
- type :
InputDeviceInfo
selectedCameraDevice
will be returnInputDeviceInfo
object describing the camera device used during the meeting.
selectedMicrophoneDevice
- type :
InputDeviceInfo
selectedMicrophoneDevice
will be returnInputDeviceInfo
object describing the microphone device used during the meeting.
pubSub
- It is used to enable Publisher-Subscriber feature in
meeting
class.
Learn more about PubSub
, here
Got a Question? Ask us on discord