aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/models/video
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/models/video
parentb30ad9888f54e6b55f3b6ca6e73534227d4d401e (diff)
downloadPeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.tar.gz
PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.tar.zst
PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.zip
Provide public RTMP URL to runners
Diffstat (limited to 'server/models/video')
-rw-r--r--server/models/video/video-live.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/models/video/video-live.ts b/server/models/video/video-live.ts
index 1acf9cbf3..ca1118641 100644
--- a/server/models/video/video-live.ts
+++ b/server/models/video/video-live.ts
@@ -159,11 +159,11 @@ export class VideoLiveModel extends Model<Partial<AttributesOnly<VideoLiveModel>
159 streamKey: this.streamKey, 159 streamKey: this.streamKey,
160 160
161 rtmpUrl: CONFIG.LIVE.RTMP.ENABLED 161 rtmpUrl: CONFIG.LIVE.RTMP.ENABLED
162 ? WEBSERVER.RTMP_URL 162 ? WEBSERVER.RTMP_BASE_LIVE_URL
163 : null, 163 : null,
164 164
165 rtmpsUrl: CONFIG.LIVE.RTMPS.ENABLED 165 rtmpsUrl: CONFIG.LIVE.RTMPS.ENABLED
166 ? WEBSERVER.RTMPS_URL 166 ? WEBSERVER.RTMPS_BASE_LIVE_URL
167 : null 167 : null
168 } 168 }
169 } 169 }