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: SELLERcreateLivestreamEncoderKey(
input: CreateLivestreamEncoderKeyInput!
): CreateLivestreamEncoderKeyPayload!Arguments
| Argument | Type | Description |
|---|---|---|
input | CreateLivestreamEncoderKeyInput! | The livestream. |