participant-management

Manage call participants with mute, pause, pin, and hand-raise events.

31|9|Updated Mar 10, 2023
One-click install
npx skills add https://github.com/cometchat/calls-sdk-ios --skill participant-management
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: participant-management
Source: https://github.com/cometchat/calls-sdk-ios/tree/main/skills/participant-management
Command: npx skills add https://github.com/cometchat/calls-sdk-ios --skill participant-management

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It helps you manage call participants during live sessions by enabling moderation actions (mute/pause), view control (pin/unpin), and engagement signals (raise hand) while keeping your UI synchronized with real-time participant state.

Core Features & Use Cases

  • Mute and pause controls: Mute participant audio, pause/resume participant video to reduce disruption during meetings.
  • Pin and unpin for focus: Pin a participant to highlight them in your local layout and unpin when needed.
  • Live participant monitoring: Track join/leave changes, audio/video mute states, hand-raise status, dominant speaker changes, and screen share/recording events using a participant event listener.
  • Participant UI toggles: Show or hide participant list and raise hand controls via session settings for custom moderation experiences.

Quick Start

Use the participant-management skill to mute or pause a specific participant by their uid, then attach a ParticipantEventListener to update your UI whenever participant state changes.

Frequently Asked Questions about participant-management

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I mute audio and pause video for WebRTC call participants in iOS?

To mute audio and pause video for WebRTC call participants in iOS, you invoke CallSession participant moderation actions using the participant's UID. This allows you to selectively mute or pause specific individuals during live sessions.

What is the best way to track WebRTC participant state changes like hand raise and dominant speaker?

Tracking WebRTC participant state changes like hand raise and dominant speaker requires implementing ParticipantEventListener methods. These event callbacks fire when participants join or leave, change mute states, or start screen sharing.

How do I pin and unpin a participant in a WebRTC call UI layout?

You can pin and unpin a participant in a WebRTC call UI layout by using participant view control actions. Pinning highlights a specific participant locally, and unpinning reverts the layout to its default responsive state.

Does this participant moderation approach work for custom iOS calling interfaces and responsive layouts?

Yes, this participant moderation approach works for custom iOS calling interfaces and responsive layouts. It supports toggling participant list visibility, raise hand controls, and session settings to build custom moderation experiences.

What WebRTC event callbacks do I need to implement for real-time participant monitoring?

For real-time participant monitoring, you need to implement ParticipantEventListener event callbacks for joined/left changes, audio/video state transitions, and dominant speaker or screen share events. This keeps your UI synchronized with live participant states.

Why are my WebRTC participant list toggles not updating during a live call?

WebRTC participant list toggles may not update if ParticipantEventListener methods are not properly attached to the CallSession. You must hook into list change events and session settings to ensure custom moderation UI updates dynamically.