Files
VoelinClient/crates
selikhovandClaude Opus 5 9be547ed6d voelin-media: push the studio to a WHIP service
Going live to a broadcast service is the one output that is not a file, and
WHIP is the standard that makes it one HTTP request: post the offer, apply the
answer, delete the location to stop. str0m already drives WebRTC here, so the
session is a thread of its own fed through a bounded channel -- a slow or dead
upload drops its own packets instead of stalling an encoder.

The session offers only the codec the studio already encodes plus Opus, so the
service can never negotiate its way into a second encode.

Candidates are one host candidate on the interface that routes to the service,
found by connecting a throwaway socket: enough for a service with a public
address and for a server on this machine, not enough behind a NAT the service
cannot reach back through. STUN and TURN are not here yet.

tests/studio_whip.rs is a WHIP server built on str0m in the test: the offer is
posted, ICE and DTLS come up, real VP8 and Opus packets arrive, a refusal is
reported with the service's own words, and stopping deletes the resource.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-29 23:39:11 +03:00
..