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

