aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/runners
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/runners')
-rw-r--r--server/lib/runners/job-handlers/live-rtmp-hls-transcoding-job-handler.ts4
1 files changed, 3 insertions, 1 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 87b6f0702..6b2894f8c 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
@@ -20,6 +20,7 @@ type CreateOptions = {
20 video: MVideo 20 video: MVideo
21 playlist: MStreamingPlaylist 21 playlist: MStreamingPlaylist
22 22
23 sessionId: string
23 rtmpUrl: string 24 rtmpUrl: string
24 25
25 toTranscode: { 26 toTranscode: {
@@ -37,7 +38,7 @@ type CreateOptions = {
37export class LiveRTMPHLSTranscodingJobHandler extends AbstractJobHandler<CreateOptions, LiveRTMPHLSTranscodingUpdatePayload, LiveRTMPHLSTranscodingSuccess> { 38export class LiveRTMPHLSTranscodingJobHandler extends AbstractJobHandler<CreateOptions, LiveRTMPHLSTranscodingUpdatePayload, LiveRTMPHLSTranscodingSuccess> {
38 39
39 async create (options: CreateOptions) { 40 async create (options: CreateOptions) {
40 const { video, rtmpUrl, toTranscode, playlist, segmentDuration, segmentListSize, outputDirectory } = options 41 const { video, rtmpUrl, toTranscode, playlist, segmentDuration, segmentListSize, outputDirectory, sessionId } = options
41 42
42 const jobUUID = buildUUID() 43 const jobUUID = buildUUID()
43 const payload: RunnerJobLiveRTMPHLSTranscodingPayload = { 44 const payload: RunnerJobLiveRTMPHLSTranscodingPayload = {
@@ -54,6 +55,7 @@ export class LiveRTMPHLSTranscodingJobHandler extends AbstractJobHandler<CreateO
54 const privatePayload: RunnerJobLiveRTMPHLSTranscodingPrivatePayload = { 55 const privatePayload: RunnerJobLiveRTMPHLSTranscodingPrivatePayload = {
55 videoUUID: video.uuid, 56 videoUUID: video.uuid,
56 masterPlaylistName: playlist.playlistFilename, 57 masterPlaylistName: playlist.playlistFilename,
58 sessionId,
57 outputDirectory 59 outputDirectory
58 } 60 }
59 61