Re:Show HN: OBS Live-streaming with 120ms latency
by mannyv on Wednesday September 04, 2024 @09:40AM
(#41445752)
Interesting that "but a particular session can only be hosted by one instance"
Why is that? Is that a protocol issue with WebRTC or an implementation issue with the way WebRTC servers are written?
There are lots of ways to share session state across servers.
Re:Show HN: OBS Live-streaming with 120ms latency
by Sean-Der on Wednesday September 04, 2024 @10:09AM
(#41446048)
To build this quickly I would chain Broadcast Box instances. Have it look like a n-ary tree and spin up another broadcast box instance when you need it.
`OBS -> Broadcast Box -> Broadcast Box -> Broadcast Box -> Viewer`
To start I would do WHIP between the servers as well. More optimization can be done, but it would be a good quick start.
Quite a few companies offer this a service though. Cloudflare, Twitch’s IVS, Dolby Millicast, Phenix RTS…
LiveKit did a write up on how they built theirs https://blog.livekit.io/scaling-webrtc-with-distributed-mesh...