aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-16 09:12:50 +0200
committerChocobozzz <me@florianbigard.com>2023-05-16 09:12:50 +0200
commit287057050526e1f474c4f4d5d9a7ef3b7c677f2f (patch)
tree09fc9e4879617973b78534252ab601f4aeb9a242 /server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
parentb30ad9888f54e6b55f3b6ca6e73534227d4d401e (diff)
downloadPeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.tar.gz
PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.tar.zst
PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.zip
Provide public RTMP URL to runners
Diffstat (limited to 'server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts')
-rw-r--r--server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
index 1f4c12bd4..c82970b88 100644
--- a/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
+++ b/server/lib/live/shared/transcoding-wrapper/ffmpeg-transcoding-wrapper.ts
@@ -15,7 +15,7 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper {
15 async run () { 15 async run () {
16 this.ffmpegCommand = CONFIG.LIVE.TRANSCODING.ENABLED 16 this.ffmpegCommand = CONFIG.LIVE.TRANSCODING.ENABLED
17 ? await this.buildFFmpegLive().getLiveTranscodingCommand({ 17 ? await this.buildFFmpegLive().getLiveTranscodingCommand({
18 inputUrl: this.inputUrl, 18 inputUrl: this.inputLocalUrl,
19 19
20 outPath: this.outDirectory, 20 outPath: this.outDirectory,
21 masterPlaylistName: this.streamingPlaylist.playlistFilename, 21 masterPlaylistName: this.streamingPlaylist.playlistFilename,
@@ -31,7 +31,7 @@ export class FFmpegTranscodingWrapper extends AbstractTranscodingWrapper {
31 hasAudio: this.hasAudio 31 hasAudio: this.hasAudio
32 }) 32 })
33 : this.buildFFmpegLive().getLiveMuxingCommand({ 33 : this.buildFFmpegLive().getLiveMuxingCommand({
34 inputUrl: this.inputUrl, 34 inputUrl: this.inputLocalUrl,
35 outPath: this.outDirectory, 35 outPath: this.outDirectory,
36 36
37 masterPlaylistName: this.streamingPlaylist.playlistFilename, 37 masterPlaylistName: this.streamingPlaylist.playlistFilename,