Admin API / Types
EndLivestreamInput
InputDetails for ending a livestream.
input EndLivestreamInputInput fields
| Field | Type | Description |
|---|---|---|
expectedStatus | LivestreamStatus | The status that the caller saw. When it is set and the livestream has another status, the call returns LivestreamStatusChangedError and changes nothing, also for an ended or cancelled livestream. ENDED matches only a livestream that an end request finished: a live or paused livestream that reads ENDED after 12 hours gives LivestreamStatusChangedError. Null or omitted: the call ends a live or paused livestream and cancels a scheduled one. |
livestreamId | ID! | The livestream to end. |
raidTo | ID | Successor livestream to receive viewers when this stream ends. A target that is not live or paused is ignored. Omitting this field clears any existing successor. |