Skip to main content

GET Recorded sessions

Use /stream/{parentId}/sessions?record=1 to a return list of recorded sessions with the same parentId

curl -H 'authorization: Bearer {api-key}' \
"https://livepeer.studio/api/stream/{parentId}/sessions?record=1"

200 OK

[
{
"sourceSegmentsDuration":250,,
"id":"aaaaaaaa-aaaa-aaaa-aaaa-aaaa",
"record":true,
"parentId":"nnnnnnnn-nnnn-nnnn-nnnn-nnnn",
"recordingStatus":"ready",
"recordingUrl":"https://livepeercdn.com/recordings/aaaaaaaa-aaaa-aaaa-aaaa-aaaa/index.m3u8"},
"mp4URL":"https://mdw-cdn.livepeer.studio/recordings/ccccccc-cccc-cccc-cccc-cccccccccccccc/2021_01_01_01_00_01-source.mp4",
{other asset object keys, like createdAt and profiles},
{
"sourceSegmentsDuration":30.266,
"id":"bbbbbbbb-bbbb-bbbb-bbbb-bbbb",
"record":true,
"parentId":"nnnnnnnn-nnnn-nnnn-nnnn-nnnn",
"recordingStatus":"ready",
"recordingUrl":"https://livepeercdn.com/recordings/bbbbbbbb-bbbb-bbbb-bbbb-bbbb/index.m3u8",
"mp4URL":"https://mdw-cdn.livepeer.studio/recordings/eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee/2021_01_01_01_00_01-source.mp4",
{other asset object keys, like createdAt and profiles}
}
]