From 287057050526e1f474c4f4d5d9a7ef3b7c677f2f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 16 May 2023 09:12:50 +0200 Subject: Provide public RTMP URL to runners --- .../transcoding-wrapper/abstract-transcoding-wrapper.ts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts') 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 226ba4573..ee61d7690 100644 --- a/server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts +++ b/server/lib/live/shared/transcoding-wrapper/abstract-transcoding-wrapper.ts @@ -25,7 +25,9 @@ interface AbstractTranscodingWrapperOptions { lTags: LoggerTagsFn - inputUrl: string + inputLocalUrl: string + inputPublicUrl: string + fps: number toTranscode: { resolution: number @@ -50,7 +52,9 @@ abstract class AbstractTranscodingWrapper extends EventEmitter { fps: number }[] - protected readonly inputUrl: string + protected readonly inputLocalUrl: string + protected readonly inputPublicUrl: string + protected readonly fps: number protected readonly bitrate: number protected readonly ratio: number @@ -76,7 +80,9 @@ abstract class AbstractTranscodingWrapper extends EventEmitter { this.videoUUID = options.videoLive.Video.uuid this.streamingPlaylist = options.streamingPlaylist - this.inputUrl = options.inputUrl + this.inputLocalUrl = options.inputLocalUrl + this.inputPublicUrl = options.inputPublicUrl + this.fps = options.fps this.toTranscode = options.toTranscode -- cgit v1.2.3