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