Admin API / Types

EndLivestreamInput

Input

Details for ending a livestream.

input EndLivestreamInput

Input fields

FieldTypeDescription
expectedStatusLivestreamStatusThe 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.
livestreamIdID!The livestream to end.
raidToIDSuccessor 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.