new
Catalyst
Go Livepeer
Livepeer.js
Studio
Low Latency Livestreaming - Full Release
Overview
With this update, builders and viewers can expect drastically improved latency for browser-based applications, with a target range of 3-5s for transcoded renditions and sub-second for the source.
Details
To access this feature, builders must either:
- Use the Livepeer Player @livepeer/react@2.5.4or later, and specifylowLatencyas a prop
- Use the lvpr.tv iframe, and specify lowLatency=trueas a query parameter
- Use another player that supports WHEP WebRTC playback, and ensure that it uses the WebRTC URL in lieu of the HLS playback URL
If you choose to use another player, we strongly recommend that you incorporate fallback logic, whereby the player reverts to HLS in cases where network conditions may not support WebRTC.
Limitations
WebRTC playback is not implemented in the Livepeer React Native player. This is tracked as follow-up work.
Resources
- Low Latency playback with the Livepeer Player
- Optimizing OBS for Low Latency with Livepeer
- React Native webRTC (recommended package for native applications)
What's Next
- In the future, we plan to enable low latency playback by default rather than as an opt-in feature
- Building on the WebRTC infrastructure that enables these latency improvements, we will enable In-browser Broadcasting via Livepeer.js
- We will add WebRTC playback to our React Native player.