Move to segment index
This commit is contained in:
@@ -99,7 +99,7 @@ class StreamUploadManager<TCacheShape> {
|
||||
console.log(`Requesting upload link for chunk ${chunkId}`);
|
||||
const result = await this.client.mutate({
|
||||
mutation: gql.GetUploadLinkDocument,
|
||||
variables: { videoId: this.videoId, chunkIndex: chunkId },
|
||||
variables: { videoId: this.videoId, segmentIndex: chunkId },
|
||||
});
|
||||
this.prefetchedUploadLinks[chunkId] = result.data.getUploadLink.uploadUrl;
|
||||
return result.data.getUploadLink.uploadUrl;
|
||||
|
Reference in New Issue
Block a user