aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/initializers/config.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-11-05 11:36:03 +0100
committerChocobozzz <me@florianbigard.com>2021-11-05 11:38:17 +0100
commitdf1db951c512a58110171d046ef367789df02733 (patch)
treea8894b4a4864d9e378923f011b4ca9d206e2ee0b /server/initializers/config.ts
parent8dd754c76735417305c4b68e2ada6f623e9d7650 (diff)
downloadPeerTube-df1db951c512a58110171d046ef367789df02733.tar.gz
PeerTube-df1db951c512a58110171d046ef367789df02733.tar.zst
PeerTube-df1db951c512a58110171d046ef367789df02733.zip
Support RTMPS
Diffstat (limited to 'server/initializers/config.ts')
-rw-r--r--server/initializers/config.ts8
1 files changed, 8 insertions, 0 deletions
diff --git a/server/initializers/config.ts b/server/initializers/config.ts
index 0d5e29499..1288768d8 100644
--- a/server/initializers/config.ts
+++ b/server/initializers/config.ts
@@ -271,9 +271,17 @@ const CONFIG = {
271 get ALLOW_REPLAY () { return config.get<boolean>('live.allow_replay') }, 271 get ALLOW_REPLAY () { return config.get<boolean>('live.allow_replay') },
272 272
273 RTMP: { 273 RTMP: {
274 get ENABLED () { return config.get<boolean>('live.rtmp.enabled') },
274 get PORT () { return config.get<number>('live.rtmp.port') } 275 get PORT () { return config.get<number>('live.rtmp.port') }
275 }, 276 },
276 277
278 RTMPS: {
279 get ENABLED () { return config.get<boolean>('live.rtmps.enabled') },
280 get PORT () { return config.get<number>('live.rtmps.port') },
281 get KEY_FILE () { return config.get<string>('live.rtmps.key_file') },
282 get CERT_FILE () { return config.get<string>('live.rtmps.cert_file') }
283 },
284
277 TRANSCODING: { 285 TRANSCODING: {
278 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') }, 286 get ENABLED () { return config.get<boolean>('live.transcoding.enabled') },
279 get THREADS () { return config.get<number>('live.transcoding.threads') }, 287 get THREADS () { return config.get<number>('live.transcoding.threads') },