aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live/shared/transcoding-wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'server/lib/live/shared/transcoding-wrapper')
-rw-r--r--server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts3
-rw-r--r--server/lib/live/shared/transcoding-wrapper/remote-transcoding-wrapper.ts1
2 files changed, 4 insertions, 0 deletions
diff --git a/server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts b/server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts
index ee61d7690..95168745d 100644
--- a/server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts
+++ b/server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts
@@ -25,6 +25,7 @@ interface AbstractTranscodingWrapperOptions {
25 25
26 lTags: LoggerTagsFn 26 lTags: LoggerTagsFn
27 27
28 sessionId: string
28 inputLocalUrl: string 29 inputLocalUrl: string
29 inputPublicUrl: string 30 inputPublicUrl: string
30 31
@@ -52,6 +53,7 @@ abstract class AbstractTranscodingWrapper extends EventEmitter {
52 fps: number 53 fps: number
53 }[] 54 }[]
54 55
56 protected readonly sessionId: string
55 protected readonly inputLocalUrl: string 57 protected readonly inputLocalUrl: string
56 protected readonly inputPublicUrl: string 58 protected readonly inputPublicUrl: string
57 59
@@ -80,6 +82,7 @@ abstract class AbstractTranscodingWrapper extends EventEmitter {
80 this.videoUUID = options.videoLive.Video.uuid 82 this.videoUUID = options.videoLive.Video.uuid
81 this.streamingPlaylist = options.streamingPlaylist 83 this.streamingPlaylist = options.streamingPlaylist
82 84
85 this.sessionId = options.sessionId
83 this.inputLocalUrl = options.inputLocalUrl 86 this.inputLocalUrl = options.inputLocalUrl
84 this.inputPublicUrl = options.inputPublicUrl 87 this.inputPublicUrl = options.inputPublicUrl
85 88
diff --git a/server/lib/live/shared/transcoding-wrapper/remote-transcoding-wrapper.ts b/server/lib/live/shared/transcoding-wrapper/remote-transcoding-wrapper.ts
index 6770a5e6f..2aeeb31fb 100644
--- a/server/lib/live/shared/transcoding-wrapper/remote-transcoding-wrapper.ts
+++ b/server/lib/live/shared/transcoding-wrapper/remote-transcoding-wrapper.ts
@@ -5,6 +5,7 @@ export class RemoteTranscodingWrapper extends AbstractTranscodingWrapper {
5 async run () { 5 async run () {
6 await new LiveRTMPHLSTranscodingJobHandler().create({ 6 await new LiveRTMPHLSTranscodingJobHandler().create({
7 rtmpUrl: this.inputPublicUrl, 7 rtmpUrl: this.inputPublicUrl,
8 sessionId: this.sessionId,
8 toTranscode: this.toTranscode, 9 toTranscode: this.toTranscode,
9 video: this.videoLive.Video, 10 video: this.videoLive.Video,
10 outputDirectory: this.outDirectory, 11 outputDirectory: this.outDirectory,