diff options
| author | bobzel <zzzman@gmail.com> | 2023-06-09 13:24:29 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-09 13:24:29 -0400 |
| commit | 8feb55cb8a6dc851f55ff4d7e612896c1045b626 (patch) | |
| tree | f7a1c1a151c377fa131070f68c3434ee8e364bb3 /src/client/views/nodes/RecordingBox/RecordingView.tsx | |
| parent | 3a70c915f3f2b64de72ac7cdff316184cb12db53 (diff) | |
| parent | 7d9a5bc08cb8c5f72a6795aef9374eef12a7cdef (diff) | |
Merge pull request #172 from brown-dash/james-video-loading
Fix Image Loading
Diffstat (limited to 'src/client/views/nodes/RecordingBox/RecordingView.tsx')
| -rw-r--r-- | src/client/views/nodes/RecordingBox/RecordingView.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/nodes/RecordingBox/RecordingView.tsx b/src/client/views/nodes/RecordingBox/RecordingView.tsx index 424ebc384..51eb774e2 100644 --- a/src/client/views/nodes/RecordingBox/RecordingView.tsx +++ b/src/client/views/nodes/RecordingBox/RecordingView.tsx @@ -67,7 +67,7 @@ export function RecordingView(props: IRecordingViewProps) { const videoFiles = videos.map((vid, i) => new File(vid.videoChunks, `segvideo${i}.mkv`, { type: vid.videoChunks[0].type, lastModified: Date.now() })); // upload the segments to the server and get their server access paths - const serverPaths: string[] = (await Networking.UploadFilesToServer(videoFiles)).map(res => (res.result instanceof Error ? '' : res.result.accessPaths.agnostic.server)); + const serverPaths: string[] = (await Networking.UploadFilesToServer(videoFiles.map(file => ({file})))).map(res => (res.result instanceof Error ? '' : res.result.accessPaths.agnostic.server)); // concat the segments together using post call const result: Upload.AccessPathInfo | Error = await Networking.PostToServer('/concatVideos', serverPaths); |
