introduce lastIntendedSegmentBound to cursor management layer, method to checkAndHandleUploadCompletion
This commit is contained in:
@@ -904,6 +904,7 @@ export type GetUploadStreamDetailsQuery = {
|
||||
__typename?: "UploadStreamGQL";
|
||||
isCompleted: boolean;
|
||||
uploadCompletionCursor: number;
|
||||
lastIntendedSegmentBound?: number | null;
|
||||
} | null;
|
||||
};
|
||||
};
|
||||
@@ -2372,6 +2373,7 @@ export const GetUploadStreamDetailsDocument = gql`
|
||||
stream {
|
||||
isCompleted
|
||||
uploadCompletionCursor
|
||||
lastIntendedSegmentBound
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -65,6 +65,7 @@ query GetUploadStreamDetails($videoId: Int!) {
|
||||
stream {
|
||||
isCompleted
|
||||
uploadCompletionCursor
|
||||
lastIntendedSegmentBound
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user