just gql stuff + use it on uncompletedStreams hook
This commit is contained in:
@@ -36,6 +36,28 @@ query GetUploadStreams(
|
||||
}
|
||||
}
|
||||
}
|
||||
query GetUploadStreamsWithDetails(
|
||||
$limit: Int! = 5
|
||||
$after: String = null
|
||||
$filters: VideoFilterInput = null
|
||||
) {
|
||||
getUserVideos(limit: $limit, after: $after, filters: $filters) {
|
||||
videos {
|
||||
id
|
||||
name
|
||||
startTime
|
||||
stream {
|
||||
isCompleted
|
||||
lastIntendedSegmentBound
|
||||
uploadCompletionCursor
|
||||
}
|
||||
}
|
||||
pageInfo {
|
||||
hasNextPage
|
||||
endCursor
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
query GetUploadStreamDetails($videoId: Int!) {
|
||||
getVideo(videoId: $videoId) {
|
||||
|
Reference in New Issue
Block a user