Savings Playbooks // DialStack Metrics
WebRTC In-App Voice vs PSTN SIP Trunk Unit Cost Breakdown
Moving customer-support voice widgets from PSTN phone numbers to browser WebRTC eliminates $0.004-$0.010/min carrier tolls.
Measured Unit Economics & Telemetry
LiveKit Server handles both WebRTC browser sessions and SIP PSTN trunks inside the same Pipecat worker pool. Routing web and mobile app calls over Opus WebRTC removes carrier origination fees and raises audio fidelity to 24 kHz.
| Cost / Latency Line | Audited Value | FinOps Impact |
|---|---|---|
| PSTN SIP Origination | $0.0040 - $0.0085 / min | Required for phone numbers |
| Browser WebRTC on LiveKit | $0.0000 / min carrier | Only Vultr compute (~$0.001/min) |
| Audio Codec Quality | Opus 24-48 kHz vs G.711 8 kHz | Higher STT accuracy on WebRTC |
| TURN Relay Overhead | < 12% of sessions | Co-hosted on same Vultr node |
Implementation & Configuration Checklist
- Embed LiveKit WebRTC SDK: Connect web users directly to wss://voice.yourdomain.com instead of click-to-call PSTN.
- Keep SIP Trunk for Inbound DIDs: Route phone callers through livekit-sip onto the exact same Pipecat agent code.
- Use Opus DTX Silence Suppression: Enable discontinuous transmission to cut client uplink jitter on mobile networks.
rtc:
port_range_start: 50000
port_range_end: 60000
use_external_ip: true
FinOps Engineering FAQ
Does WebRTC cut Deepgram STT costs too?
STT per-minute billing remains the same, but cleaner 16-24 kHz Opus audio reduces transcription retries and repeated user turns.
Can one Vultr server handle both WebRTC and SIP?
Yes, LiveKit Server routes WebRTC tracks natively while the livekit-sip sidecar bridges PSTN trunks.