Loading…
Topic
WebRTC
2 posts about WebRTC. Every summary links to the original.
- 2 posts
- 2 companies
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
Newest first
Posts
Augment Your LiveKit Agent with Modal GPUs
LiveKit and its Agents SDK provide WebRTC-based audio-video applications, and open-weights models on Modal GPUs can augment these agents with custom or open-weights components, using BitHuman’s Expression Video Avatar voiced by Qwen3-TTS as an example to clone Charles Frye. The BitHuman avatar container, prepackaged as a self-hosted GPU container exposed via a Modal Server, provides a /launch endpoint that a LiveKit agent calls using a session token upon participant entry. A challenge arises because the endpoint returns immediately after the avatar joins, conflicting with how Modal Servers scale by in-flight requests. Modal’s recently released Sticky Sessions solve this by guaranteeing strong container affinity, allowing a client to start and end sessions and hold a slot on the container as if a request were running. GPU snapshots hide cold starts, avoiding gigabytes of model weight reloads, and the complete code is provided for implementation alongside documentation.
How to Get Started With WebRTC: Intro to Browser APIs
WebRTC provides browser APIs for real-time voice, video, and data sharing without plugins, with mandatory encryption via DTLS-SRTP and DTLS; the standard became a W3C Recommendation in January 2021. The core APIs are getUserMedia for capturing audio/video from user devices, RTCPeerConnection for peer-to-peer media exchange via offer/answer and ICE candidates, and RTCDataChannel for arbitrary data transfer. WebRTC is supported by all major browsers and used by services like Google Meet, Discord (which uses media servers for group calls to avoid expensive peer-to-peer), and AI voice agents. Twilio offers Video and Voice JavaScript SDKs that handle signaling and media relay, enabling calls to phone numbers and SIP endpoints. The post includes a camera preview example using getUserMedia that requires a secure origin and can be served with Python, then directs readers to Twilio’s quickstart tutorials for building video and voice applications.
Related topics
All topics →Weekly digest
The best engineering reads, once a week.