diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-16 09:12:50 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-05-16 09:12:50 +0200 |
commit | 287057050526e1f474c4f4d5d9a7ef3b7c677f2f (patch) | |
tree | 09fc9e4879617973b78534252ab601f4aeb9a242 /server/models | |
parent | b30ad9888f54e6b55f3b6ca6e73534227d4d401e (diff) | |
download | PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.tar.gz PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.tar.zst PeerTube-287057050526e1f474c4f4d5d9a7ef3b7c677f2f.zip |
Provide public RTMP URL to runners
Diffstat (limited to 'server/models')
-rw-r--r-- | server/models/video/video-live.ts | 4 |
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 | } |