video-controls
OfficialToggle camera and switch facing instantly.
System Documentation
What problem does it solve?
Calls apps often need responsive camera controls during an active video session, such as pausing/resuming the camera and switching between front and rear lenses without disrupting the call flow.
Core Features & Use Cases
- Pause/Resume Camera: Programmatically turn local video off and back on during an ongoing call.
- Switch Camera Facing: Toggle between front and rear cameras to support different user scenarios.
- Event-Driven UI Updates: Listen to media events so custom buttons accurately reflect the current camera state.
- Pre-Session Configuration: Set initial video state and whether built-in UI toggles for video and camera switching should be shown.
Use case: You are building a custom call screen where the user taps a button to mute their video by turning the camera off, then later re-enables video and switches cameras, with the UI reflecting each state change automatically.
Quick Start
Use the video-controls skill to pause and resume the local camera during an active call, switch between front and back cameras, and keep your UI in sync using media event callbacks.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: video-controls Download link: https://github.com/cometchat/calls-sdk-ios/archive/main.zip#video-controls Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.