Move to segment index

This commit is contained in:
Ivan Malison 2024-02-13 15:53:42 -07:00
parent dc5a90cf1a
commit 2fc7c8ab1e
3 changed files with 4 additions and 4 deletions

View File

@ -49,7 +49,7 @@
"graphql": "^16.8.1", "graphql": "^16.8.1",
"jest": "^29.2.1", "jest": "^29.2.1",
"jest-expo": "~49.0.0", "jest-expo": "~49.0.0",
"railbird-gql": "git+https://dev.railbird.ai/railbird/railbird-gql.git#838304efdd49a093bd8f9cea6cd6ef9e306d888a", "railbird-gql": "git+https://dev.railbird.ai/railbird/railbird-gql.git#master",
"react": "18.2.0", "react": "18.2.0",
"react-native": "0.72.6", "react-native": "0.72.6",
"react-native-dotenv": "^3.4.9", "react-native-dotenv": "^3.4.9",

View File

@ -99,7 +99,7 @@ class StreamUploadManager<TCacheShape> {
console.log(`Requesting upload link for chunk ${chunkId}`); console.log(`Requesting upload link for chunk ${chunkId}`);
const result = await this.client.mutate({ const result = await this.client.mutate({
mutation: gql.GetUploadLinkDocument, mutation: gql.GetUploadLinkDocument,
variables: { videoId: this.videoId, chunkIndex: chunkId }, variables: { videoId: this.videoId, segmentIndex: chunkId },
}); });
this.prefetchedUploadLinks[chunkId] = result.data.getUploadLink.uploadUrl; this.prefetchedUploadLinks[chunkId] = result.data.getUploadLink.uploadUrl;
return result.data.getUploadLink.uploadUrl; return result.data.getUploadLink.uploadUrl;

View File

@ -9798,9 +9798,9 @@ queue@6.0.2:
dependencies: dependencies:
inherits "~2.0.3" inherits "~2.0.3"
"railbird-gql@git+https://dev.railbird.ai/railbird/railbird-gql.git#838304efdd49a093bd8f9cea6cd6ef9e306d888a": "railbird-gql@git+https://dev.railbird.ai/railbird/railbird-gql.git#master":
version "1.0.0" version "1.0.0"
resolved "git+https://dev.railbird.ai/railbird/railbird-gql.git#838304efdd49a093bd8f9cea6cd6ef9e306d888a" resolved "git+https://dev.railbird.ai/railbird/railbird-gql.git#204e289627b08a96b947b6f23ed4a843d9e8abff"
dependencies: dependencies:
"@apollo/client" "^3.9.2" "@apollo/client" "^3.9.2"
"@graphql-codegen/cli" "^5.0.0" "@graphql-codegen/cli" "^5.0.0"