GET
a list of 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.com/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://cdn.livepeer.com/recordings/aaaaaaaa-aaaa-aaaa-aaaa-aaaa/index.m3u8"},
"mp4URL":"https://mdw-cdn.livepeer.com/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://cdn.livepeer.com/recordings/bbbbbbbb-bbbb-bbbb-bbbb-bbbb/index.m3u8",
"mp4URL":"https://mdw-cdn.livepeer.com/recordings/eeeeeeee-eeee-eeee-eeee-eeeeeeeeeeee/2021_01_01_01_00_01-source.mp4",
{other asset object keys, like createdAt and profiles}
}
]