diff --git a/package.json b/package.json index 9082661..c5b7722 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "graphql": "^16.8.1", "jest": "^29.2.1", "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-native": "0.72.6", "react-native-dotenv": "^3.4.9", diff --git a/src/component/video/camera.tsx b/src/component/video/camera.tsx index 54a3eea..c1ed84b 100644 --- a/src/component/video/camera.tsx +++ b/src/component/video/camera.tsx @@ -99,7 +99,7 @@ class StreamUploadManager { 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; diff --git a/yarn.lock b/yarn.lock index e88b47f..74b6712 100644 --- a/yarn.lock +++ b/yarn.lock @@ -9798,9 +9798,9 @@ queue@6.0.2: dependencies: 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" - resolved "git+https://dev.railbird.ai/railbird/railbird-gql.git#838304efdd49a093bd8f9cea6cd6ef9e306d888a" + resolved "git+https://dev.railbird.ai/railbird/railbird-gql.git#204e289627b08a96b947b6f23ed4a843d9e8abff" dependencies: "@apollo/client" "^3.9.2" "@graphql-codegen/cli" "^5.0.0"