Voxera Developer Documentation
Guides, SDK references, platform policies, and OpenAPI specifications.
quickstarts#quickstart-audio
Audio Voice Quickstart
Connect to low-latency voice room in 5 minutes using standard WebRTC.
This guide connects your application to an interactive voice room. Speaker minutes and Listener minutes are metered independently.
STEP 1: INSTALL CLIENT SDK & CONNECT
import { VoxeraAudioClient } from "@voxera/client-sdk";
// 1. Initialize client with AppID and your server-issued token
const client = new VoxeraAudioClient({
appId: "YOUR_APP_ID_HERE",
token: "YOUR_SERVER_GENERATED_TOKEN_HERE",
});
// 2. Join room as speaker or listener
await client.joinRoom({
roomId: "voice_room_alpha",
role: "speaker", // or "listener"
audioConfig: {
codec: "opus",
sampleRate: 48000,
bitrate: 64000,
},
});
console.log("Connected to Voxera audio room!");Security Notice: Never embed your Server Secret into client apps. Always sign tokens on your trusted backend.