Participant Actions
Mute Participant
Mute a specific participant’s audio. This is typically a moderator action.| Parameter | Type | Description |
|---|---|---|
participantId | String | The participant’s unique identifier |
Pause Participant Video
Pause a specific participant’s video. This is typically a moderator action.| Parameter | Type | Description |
|---|---|---|
participantId | String | The participant’s unique identifier |
Pin Participant
Pin a participant to keep them prominently displayed regardless of who is speaking.| Parameter | Type | Description |
|---|---|---|
participantId | String | The participant’s unique identifier |
type | String | The participant type |
Unpin Participant
Remove the pin, returning to automatic speaker highlighting.Participant Events
Participant Joined
Fired when a participant joins the call:Participant Left
Fired when a participant leaves the call:Participant List Changed
Fired when the participant list is updated:Participant Audio State
Monitor when participants mute or unmute:Participant Video State
Monitor when participants turn their camera on or off:Dominant Speaker Changed
Fired when the active speaker changes:Participant List UI
Show/Hide Participant List Button
Control visibility of the participant list button:Listen for Participant List Events
Monitor when the participant list panel is opened or closed:Listen for Participant List Button Clicks
Intercept participant list button clicks:Participant Object
| Property | Type | Description |
|---|---|---|
uid | String | Unique identifier (CometChat user ID) |
name | String | Display name |
avatar | String | URL of avatar image |