aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts')
-rw-r--r--server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts b/server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts
index 48a70d891..c3b0a95cc 100644
--- a/server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts
+++ b/server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts
@@ -80,6 +80,7 @@ export class LiveRTMPHLSTranscodingJobHandler extends AbstractJobHandler<CreateO
80 const outputDirectory = privatePayload.outputDirectory 80 const outputDirectory = privatePayload.outputDirectory
81 const videoUUID = privatePayload.videoUUID 81 const videoUUID = privatePayload.videoUUID
82 82
83 // Always process the chunk first before moving m3u8 that references this chunk
83 if (updatePayload.type === 'add-chunk') { 84 if (updatePayload.type === 'add-chunk') {
84 await move( 85 await move(
85 updatePayload.videoChunkFile as string, 86 updatePayload.videoChunkFile as string,