This how-to-guide explains how to configure THEOplayer to play low-latency HLS (LL-HLS) streams. Low-Latency HLS streams conform to Apple’s preliminary protocol extension to the HLS spec.
Web SDK | Android SDK | iOS SDK | tvOS SDK | Android TV SDK | Chromecast SDK |
---|---|---|---|---|---|
Yes | Yes | Yes | Yes | Yes | N/A |
Ensure your stream is LL-HLS optimized, where the following are strongly recommended:
It is strongly recommended setting your server clock to synchronise with an NTP server, to prevent time drift.
src
parameter in your source configuration (as shown in the below example)lowLatency
parameter to TRUE, in your source configuration (as shown in the below example)<script>
// LL-HLS
player.source = {
sources : [{
src : 'https://5d6e17f1ca731.streamlock.net/LowLatencyBBB/myStream/playlist.m3u8', // set the LL-HLS source
type : 'application/x-mpegurl', // set the type to HLS
lowLatency: true
}]
};
</script>