GET /stream/{parentId}/sessions?record=1
to retrieve list of recorded sessionsUse /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"
recordingStatus
and recordingUrl
are only returned as parameters on the
session stream
object in response to the above request.
[{"sourceSegmentsDuration":250,,"id":"aaaaaaaa-aaaa-aaaa-aaaa-aaaa","record":true,"parentId":"nnnnnnnn-nnnn-nnnn-nnnn-nnnn","recordingStatus":"ready","recordingUrl":"https://fra-cdn.livepeer.com/recordings/aaaaaaaa-aaaa-aaaa-aaaa-aaaa/index.m3u8"},{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://fra-cdn.livepeer.com/recordings/bbbbbbbb-bbbb-bbbb-bbbb-bbbb/index.m3u8",{other asset object keys, like createdAt and profiles}}]