RU Open Web

Type to search client APIs, Bot API methods, and guides.

Build Your Own Client — Voice Calls, Streams & LiveKit WebRTC
Build Your Own Client Voice Calls, Streams & LiveKit WebRTC

Voice Calls, Streams & LiveKit WebRTC

1:1 encrypted calls, LiveKit SFU voice rooms, 1080p60 screen-share streams, Coturn TLS ICE discovery, and RTMP/WHIP ingress.

Voice calls, video calls, group voice rooms, and high-framerate screen shares combine REST setup routes, WebSocket signaling (call.*), LiveKit SFU, and Coturn TLS port 443 (turn.theaver.app).

Voice, video, and stream pipeline
Clients (WebRTC) Opus · H.264 / VP8 Coturn TLS 443 Firewall & NAT traversal LiveKit SFU Voice · 1080p60 · WHIP

REST call control & ICE discovery

GET /api/calls/ice-servers
JWT
POST /api/calls/start
JWT
GET /api/calls/history
JWT
EndpointPurpose
GET /api/calls/ice-serversReturns time-limited Coturn STUN/TURN credentials over TLS 443
POST /api/calls/startStarts a 1:1 or group call and returns call_id + LiveKit room credentials
GET /api/calls/:callIdFetches current participant roster and call state
POST /api/calls/:callId/accept / decline / leaveAnswers, declines, or exits an active call
POST /api/calls/:callId/transferHands off an active call to another signed-in device session
POST /api/calls/:callId/stateUpdates mute, camera, or hand-raise state
POST /api/calls/:callId/signalExchanging SDP/ICE signaling frames over REST

Multi-stream video & screen sharing

Inside calls and community voice channels, participants can publish secondary screen-share streams up to 1080p @ 60 fps alongside camera/audio tracks:

  • POST /api/calls/:callId/streams/start — register a screen/window broadcast stream.
  • POST /api/calls/:callId/streams/:streamId/quality — adjust published simulcast tier or bitrate cap.
  • POST /api/calls/:callId/streams/:streamId/subscription — subscribe or request viewer resolution for a stream.
  • POST /api/calls/:callId/streams/:streamId/stop — tear down an active stream.

Community stages also accept OBS Studio feeds directly via RTMP and WHIP endpoints managed by LiveKit Ingress.

WebSocket call RPC methods

Every REST call action also exists as a low-latency WebSocket RPC frame ({ type, req_id, data }):

  • call.start, call.accept, call.decline, call.leave
  • call.transfer_device, call.update_state
  • call.stream.start, call.stream.update_quality, call.stream.stop, call.stream.set_viewer_quality
  • call.signal