capabilities.work

Secure a Stream with a Signing Key

A 3-step recipe with Livepeer. We can help you get access.

Recipe · 3 steps

Secure a Stream with a Signing Key

Create a signing key then a JWT-gated stream and resolve its playback.

  1. Create an access control signing key. The private key is only returned on creation, so it is captured here for later JWT signing.
  2. Create a stream whose playback policy requires JWT authorization, gating playback behind tokens signed with the signing key.
  3. Resolve playback info for the gated stream's playback ID.
What you'll need to have ready
  • authToken: Livepeer API key used as a Bearer token.
  • streamName: Name of the gated stream to create.
For your developer

Arazzo workflow livepeer-com:secure-stream-signing-key, 3 operations: createSigningKey → createStream → getPlaybackInfo. Specs on APIs.io.