Stop live stream for a room

Use this to stop all live streams running in the room. This returns a paginated response for all live streams that were stopped in the room.

POSThttps://api.100ms.live/v2/live-streams/room/<room_id>/stop
curl --location --request POST 'https://api.100ms.live/v2/live-streams/room/<room_id>/stop' \ --header 'Authorization: Bearer <management_token>'
RESPONSE
Status: 200 OK
{ "error": "<error>", "data": [{ "id": "<stream_id>", "room_id": "<room_id>>", "session_id": "<session_id>", "status": "<status>", "destination": "<destination_name>", "playback": { "url": "<master-manifest>" }, "meeting_url": "<meeting_url>", "recording": { "hls_vod": false, "single_file_per_layer": false }, "created_at": "2023-03-02T07:44:27.012Z", "started_at": "2023-03-02T07:44:27.012Z", "updated_at": "2023-03-02T07:44:27.012Z", "stopped_at": "2023-03-02T07:44:27.014Z", "started_by": "<peer_id>", "stopped_by": "<peer_id>", "recording_assets": null }], "limit": 10, "last": "<last_stream_id>" }

Have a suggestion? Recommend changes ->

Run in postman

Was this helpful?

1234