This represents display name of the participant.
This represents whether the participant is the active speaker.
This represents whether the participant is the local participant.
This represents whether the participant is the main participant.
This represents whether the participant’s microphone is enabled.
This represents the microphone audio Stream of the participant.
This represents the current mode of the participant.
This represents the underlying Participant instance.
This represents the current pin state of the participant.
This represents whether the participant’s screen-share audio is enabled.
This represents the screen-share audio Stream of the participant.
This represents whether the participant is currently sharing their screen.
This represents the screen-share video Stream of the participant.
This represents whether the participant’s webcam is enabled.
This represents the webcam video Stream of the participant.
Optionalheight?: numberDesired height of the captured image.
Optionalwidth?: numberDesired width of the captured image.
A Base64-encoded string representing the captured image, or null if the image could not be captured.
Events associated with disableMic():
Events associated with disableWebcam():
Events associated with enableMic():
Events associated with enableWebcam():
The participant first receives a onWebcamRequestedevent. Once the request is accepted, the webcam is enabled.
All participants receive a onStreamEnabled event containing the corresponding Stream object.
An array of objects containing the following metrics:
jitter – Represents variation in packet arrival time (stream instability).bitrate – The bitrate at which the audio stream is being transmitted.totalPackets – Total number of packets transmitted for the stream.packetsLost – Total number of packets lost during transmission.rtt – Round-trip time (in milliseconds) between the client and server.codec – Codec used for encoding the audio stream.network – Network type used for transmitting the stream.Info
If the
rttvalue exceeds 300ms, consider switching to a region closer to the user for improved performance. Learn more visit here.
An array of objects containing the following metrics:
jitter – Represents variation in packet arrival time (stream instability).bitrate – The bitrate at which the audio stream is being transmitted.totalPackets – Total number of packets transmitted for the stream.packetsLost – Total number of packets lost during transmission.rtt – Round-trip time (in milliseconds) between the client and server.codec – Codec used for encoding the audio stream.network – Network type used for transmitting the stream.Info
If the
rttvalue exceeds 300ms, consider switching to a region closer to the user for improved performance. Learn more visit here.
An array of objects containing the following metrics:
jitter – Represents variation in packet arrival time (stream instability).bitrate – The bitrate at which the video stream is being transmitted.totalPackets – Total number of packets transmitted for the stream.packetsLost – Total number of packets lost during transmission.rtt – Round-trip time (in milliseconds) between the client and server.codec – Codec used for encoding the video stream.network – Network type used for transmitting the stream.limitation – Indicates any limitations affecting stream quality.size – Resolution or size information related to the stream.Info
If the
rttvalue exceeds 300ms, consider switching to a region closer to the user for improved performance. Learn more visit here.
An array of objects containing the following metrics:
jitter – Represents variation in packet arrival time (stream instability).bitrate – The bitrate at which the video stream is being transmitted.totalPackets – Total number of packets transmitted for the stream.packetsLost – Total number of packets lost during transmission.rtt – Round-trip time (in milliseconds) between the client and server.codec – Codec used for encoding the video stream.network – Network type used for transmitting the stream.limitation – Indicates any limitations affecting stream quality.size – Resolution or size information related to the stream.Info
If the
rttvalue exceeds 300ms, consider switching to a region closer to the user for improved performance. Learn more visit here.
This method can be used to pin the participant’s camera, screen share, or both.
Every participant receives a onPinStateChanged event when the pin state is updated.
Specifies which stream to pin.
Allowed values:
"SHARE_AND_CAM" – Pins both screen share and camera streams."CAM" – Pins only the camera stream."SHARE" – Pins only the screen-share stream.The width of the viewport used to determine the video quality.
The height of the viewport used to determine the video quality.
This method can be used to unpin the participant’s camera, screen share, or both.
Every participant receives a onPinStateChanged event when the pin state is updated.
Specifies which stream to unpin.
Allowed values:
"SHARE_AND_CAM" – Unpins both screen share and camera streams."CAM" – Unpins only the camera stream."SHARE" – Unpins only the screen-share stream.Triggered when the media status of a participant changes (for example, when audio or video is enabled or disabled).
Type of stream whose status changed.
The updated status of the stream.
Triggered when a participant’s audio, video, or screen-share stream is disabled.
The Stream that was disabled.
Triggered when a participant’s audio, video, or screen-share stream is enabled.
The Stream that was enabled.
Triggered when a participant’s video, audio, or screen-share stream is paused.
This event is triggered only when the Subscription Manager is enabled by calling the enableAdaptiveSubscription() method.
Type of stream that was paused.
Reason why the stream was paused.
Possible values:
"muted" – Stream was paused because it was muted."leastDominance" – Stream was paused due to bandwidth or dominance rules.Triggered when a participant’s video, audio, or screen-share stream is resumed.
This event is triggered only when the Subscription Manager is enabled by calling the enableAdaptiveSubscription() method.
Type of stream that was resumed.
Reason why the stream was resumed.
Possible values:
"adaptiveSubscriptionsDisabled" – Stream resumed after adaptive subscriptions were disabled."networkStable" – Stream resumed due to stable network conditions.Triggered when the video quality of a participant changes.
The currentQuality and prevQuality values can be HIGH, MEDIUM, or LOW.
The updated video quality level.
The previous video quality level.
useParticipantprovides reactive access to a participant’s state, streams, controls, statistics, and related events within a meeting.