Skip to content

Voice & video calls

Call signaling is in @sendsar/chat-sdk-javascript. WebRTC media UI kits are planned in separate repos (not in this monorepo).

Chat-only accounts

Call REST methods return 403 when calls.enabled is false. Use @sendsar/chat-sdk-javascript (+ a UI kit for messaging) only.

Signaling

typescript
const { call, livekit } = await client.startCall(roomId, { type: "video" });
client.callInvite((payload) => { /* incoming */ });

Media (planned)

Media kits will use livekit.url and livekit.token from the SDK.

Gateway setup: Server setup — Calls.

Test messaging

FrameworkRepoLocal dev URL
Reactsendsar-uikit-reacthttp://localhost:4200
Angularsendsar-uikit-angularhttp://localhost:4300

Sendsar — headless chat for B2B platforms