Get live stream

Use this request to get the live stream object, at any point after it has been created.

This can be used to fetch recording assets that are generated after the stream has completed.

GEThttps://api.100ms.live/v2/live-streams/<stream_id>
curl --location --request GET 'https://api.100ms.live/v2/live-streams/<stream_id>' \ --header 'Authorization: Bearer <management_token>'
RESPONSE
Status: 200 OK
{ "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": true, "single_file_per_layer": true }, "created_at": "2023-03-02T07:44:27.010516042Z", "started_at": "2023-03-02T07:44:27.010516042Z", "updated_at": "2023-03-02T07:44:27.010516042Z", "stopped_at": "2023-03-02T07:44:27.010516042Z", "started_by": "<peer_id>", "stopped_by": "<peer_id>", "recording_assets": [{ "id": "<asset-id>", "thumbnails": [ "<thumbnail_path" ], "duration": 42, "path": "<recording_path", "status": "<status>", "created_at": "2023-03-02T07:44:27.010516042Z", "type": "<asset-type>", "size": 42, "metadata": { "resolution": { "width": 1280, "height": 720 }, "layer": "<layer_idx>" } }, { "id": "<asset-id>", "thumbnails": [ "<thumbnail_path" ], "duration": 42, "path": "<recording_path", "status": "<status>", "created_at": "2023-03-02T07:44:27.010516042Z", "type": "<asset-type>", "size": 42, "metadata": { "num_layers": "<num_layers>", "max_width": 1920, "max_height": 1080 } } ] }

Have a suggestion? Recommend changes ->

Run in postman

Was this helpful?

1234