Use this file to discover all available pages before exploring further.
A Livepeer live event stream supports three features layered on top of basic RTMP ingest: simultaneous restreaming to third-party RTMP destinations (multistream), automatic recording to a VOD asset, and playback access control via JWT tokens or webhook verification.
When the stream goes idle, Livepeer generates a VOD asset from the recording. The stream.recording.ready webhook fires when the asset is available. Retrieve the recording:
Livepeer validates a signed JWT in the accessKey query parameter of every playback request. Your application issues tokens signed with the signing key private key.Webhook-based access control:
Terminate an active stream (force-disconnects the RTMP publisher):
await client.stream.terminate(stream.id);
Retrieve stream status:
const { stream: current } = await client.stream.get(stream.id);console.log(current.isActive); // true while RTMP is connectedconsole.log(current.lastSeen); // epoch ms of last frame received