]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts
Force live stream termination
[github/Chocobozzz/PeerTube.git] / server / lib / runners / job-handlers / live-rtmp-hls-transcoding-job-handler.ts
index 48a70d891cf6d54aa7abcae312dd1a6c899a07e0..c3b0a95cc0082632d9b268ac6bd145e292585793 100644 (file)
@@ -80,6 +80,7 @@ export class LiveRTMPHLSTranscodingJobHandler extends AbstractJobHandler<CreateO
     const outputDirectory = privatePayload.outputDirectory
     const videoUUID = privatePayload.videoUUID
 
+    // Always process the chunk first before moving m3u8 that references this chunk
     if (updatePayload.type === 'add-chunk') {
       await move(
         updatePayload.videoChunkFile as string,