Skip to main content

Livepeer delivers content over HLS (3-8 second latency) and WebRTC (sub-second latency). The @livepeer/react Player selects the best protocol automatically. For custom players, construct URLs directly from the playbackId.

@livepeer/react Player

Install:
For JWT-gated content, pass the signed token:
The Player sends the JWT as the Livepeer-Jwt header for WebRTC and HLS, and as the jwt query parameter for MP4 playback.

Direct playback URLs

Construct playback URLs using the playbackId returned when you create a stream or asset:

HLS.js integration

Confirming asset readiness

VOD assets are not playable until transcoding is complete. Subscribe to the asset.ready webhook, or poll the asset status:

Create a Livestream

Get a playback ID from a new stream.

Access Control

Sign JWTs for gated content playback.
Last modified on April 7, 2026