Low-latency broadcasting to a large audience¶
LL-HLS is suitable for low-latency broadcasting to a large audience. Typical scenarios:
- Broadcasting a sports match: thousands of viewers, they are not ready to hear "goal!" later than their neighbors.
- Online conferences, large webinars: many viewers interacting through chat, and latency can hinder communication with the audience.
For such tasks, we offer LL-HLS: it allows you to build an efficient CDN and keep acceptable latency.
Stream preparation¶
Before playing, configure the publication in Flussonic. Most often, publication is done:
- From programs like OBS. Here is an article on how to do this.
- From a browser, with a webcam or screen presentation. On the Publishing via WebRTC page, we explained how to set this up.
Server preparation¶
LL-HLS requires HTTP/2, which means you need to configure HTTPS on the server and provide the player with an https://
link.
Some players ignore this requirement, but we recommend not skipping this:
- Safari will definitely not work without https. It will switch to regular HLS mode, and low latency will be lost.
- HTTP/2 allows multiplexing requests in one connection. This provides a better user experience: the video will buffer less frequently.
Here is an article that will help you quickly set up https.
Playing with low latency via LL-HLS¶
The LL-HLS stream can be played:
- In any third-party player with LL-HLS support. The LL-HLS playback link can be copied from the Output tab in the stream profile.
- In our
embed.html
player, if you add the parametersrealtime=true&proto=ll-hls
to the URL. Open this link in a browser on a phone or computer:
https://FLUSSONIC-IP/STREAMNAME/embed.html?realtime=true&proto=ll-hls