Admin API / Mutations

createLivestreamEncoderKey

Gives a livestream an encoder key, for an encoder such as OBS. Returns the active key when it has not expired. Otherwise revokes the expired key and creates a key. A repeat returns the same active key. Requires the caller to run the show (Livestream.viewer.canProduceShow).

Requires a client key with one of these scopes: admin:livestreams:writeRequires this member role or higher: SELLER
createLivestreamEncoderKey(
  input: CreateLivestreamEncoderKeyInput!
): CreateLivestreamEncoderKeyPayload!

Arguments

ArgumentTypeDescription
inputCreateLivestreamEncoderKeyInput!The livestream.

Return type

CreateLivestreamEncoderKeyPayload!