What problem does it solve?
This Skill solves the challenge of wiring up real-time call behavior so your app can respond to session lifecycle, participant changes, media state, and user actions without missing critical updates.
Core Features & Use Cases
- SessionStatusListener: Detect when a call session is joined, left, timed out, or when connection status changes so you can update navigation or recovery UI.
- ParticipantEventListener: React to participants joining/leaving and state changes like audio/video mute/pause, hand raise/lower, screen share, recording, and dominant speaker transitions.
- MediaEventsListener: Handle media state transitions such as audio/video mute/pause and recording start/stop, plus camera and audio mode changes.
- ButtonClickListener: Capture SDK UI button clicks (leave, toggle audio/video, camera switch, layout changes, participant list/chat/recording actions) to coordinate your own flow.
- LayoutListener (optional): Track layout changes and picture-in-picture enabled/disabled events.
Quick Start
Register your listeners on CallSession.shared only after joinSession succeeds, then route each callback to your UI updates and app logic.