diff options
author | Chocobozzz <me@florianbigard.com> | 2021-11-05 11:36:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-11-05 11:38:17 +0100 |
commit | df1db951c512a58110171d046ef367789df02733 (patch) | |
tree | a8894b4a4864d9e378923f011b4ca9d206e2ee0b /config | |
parent | 8dd754c76735417305c4b68e2ada6f623e9d7650 (diff) | |
download | PeerTube-df1db951c512a58110171d046ef367789df02733.tar.gz PeerTube-df1db951c512a58110171d046ef367789df02733.tar.zst PeerTube-df1db951c512a58110171d046ef367789df02733.zip |
Support RTMPS
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 9 | ||||
-rw-r--r-- | config/production.yaml.example | 7 |
2 files changed, 16 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index c70e6a205..c30c29a6b 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -370,8 +370,17 @@ live: | |||
370 | 370 | ||
371 | # Your firewall should accept traffic from this port in TCP if you enable live | 371 | # Your firewall should accept traffic from this port in TCP if you enable live |
372 | rtmp: | 372 | rtmp: |
373 | enabled: true | ||
373 | port: 1935 | 374 | port: 1935 |
374 | 375 | ||
376 | rtmps: | ||
377 | enabled: false | ||
378 | port: 1936 | ||
379 | # Absolute path | ||
380 | key_file: '' | ||
381 | # Absolute path | ||
382 | cert_file: '' | ||
383 | |||
375 | # Allow to transcode the live streaming in multiple live resolutions | 384 | # Allow to transcode the live streaming in multiple live resolutions |
376 | transcoding: | 385 | transcoding: |
377 | enabled: true | 386 | enabled: true |
diff --git a/config/production.yaml.example b/config/production.yaml.example index 0da96f612..0993eb9f2 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -380,8 +380,15 @@ live: | |||
380 | 380 | ||
381 | # Your firewall should accept traffic from this port in TCP if you enable live | 381 | # Your firewall should accept traffic from this port in TCP if you enable live |
382 | rtmp: | 382 | rtmp: |
383 | enabled: true | ||
383 | port: 1935 | 384 | port: 1935 |
384 | 385 | ||
386 | rtmps: | ||
387 | enabled: false | ||
388 | port: 1936 | ||
389 | key_file: '' | ||
390 | cert_file: '' | ||
391 | |||
385 | # Allow to transcode the live streaming in multiple live resolutions | 392 | # Allow to transcode the live streaming in multiple live resolutions |
386 | transcoding: | 393 | transcoding: |
387 | enabled: true | 394 | enabled: true |