Skip to main content
Handle camera and microphone permissions gracefully to provide a good user experience when joining calls.

Permission Requirements

The Calls SDK requires:
  • Microphone: Required for audio calls
  • Camera: Required for video calls (optional for audio-only)

Check Permissions Before Joining

Check if permissions are granted before attempting to join a call:

Query Permission Status

Use the Permissions API to check status without prompting:

Handle Permission Denial

Show helpful messages when permissions are denied:

Permission Request UI

Create a pre-call permission check screen:

Listen for Permission Changes

Monitor permission changes in real-time:

HTTPS Requirement

Camera and microphone access requires a secure context:

Browser-Specific Instructions

Provide browser-specific help for enabling permissions:

Audio-Only Fallback

If camera permission is denied but microphone is available, offer audio-only mode: