PATCH /stream/{id}/record
to turn on/off recordingPATCH /stream/{id}/record
can only modify a parent stream object. The
parent record
value is inherited by all future child-session stream
objects. Child-session stream
objects are read-only.
curl -X PATCH https://livepeer.com/api/stream/{id}/record \-H 'content-type: application/json' \-H 'authorization: Bearer {api-key}' \-d '{"record":true}'
curl -X PATCH https://livepeer.com/api/stream/{id}/record \-H 'content-type: application/json' \-H 'authorization: Bearer {api-key}' \-d '{"record":false}'