Official example
React audio calling example
Use the React provider and microphone control in an audio-focused calling interface.
Example
example.ts
import { MeetingProvider, MicrophoneButton, ConnectionStatus } from "@purplecallio/react";
<MeetingProvider token={participantToken} callId={callId} signalUrl={signalUrl}>
<ConnectionStatus />
<MicrophoneButton />
</MeetingProvider>Security
Keep PURPLECALLIO_API_KEY on a trusted backend. Return participant-specific session information to the browser instead of exposing the project API key.
Build with PurpleCallio
Explore the documentation to choose hosted UI, React components, or the headless SDK for your integration.