Stop your current livestream, updating your current place.stream.livestream record and ceasing the flow of video.
POST
/xrpc/place.stream.live.stopLivestream
const url = 'https://example.com/xrpc/place.stream.live.stopLivestream';const options = {method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/xrpc/place.stream.live.stopLivestream \ --header 'Content-Type: application/json' \ --data '{}'Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
object
Example generated
{}Responses
Section titled “Responses”Success
Media typeapplication/json
object
uri
required
The URI of the stopped livestream record.
string format: uri
cid
required
The new CID of the stopped livestream record.
string format: cid
Example generated
{ "uri": "https://example.com", "cid": "example"}