diff options
author | kontrollanten <6680299+kontrollanten@users.noreply.github.com> | 2022-03-01 13:37:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-01 13:37:34 +0100 |
commit | 8d07888728bc5aabc7d0cd6211bc49fc45fd0353 (patch) | |
tree | 11b25f2a922f53d5c7f2273ebe5a56afaff96cd3 /config | |
parent | b5c00b9b67efee77a3476f31403e196fedfc7c99 (diff) | |
download | PeerTube-8d07888728bc5aabc7d0cd6211bc49fc45fd0353.tar.gz PeerTube-8d07888728bc5aabc7d0cd6211bc49fc45fd0353.tar.zst PeerTube-8d07888728bc5aabc7d0cd6211bc49fc45fd0353.zip |
Possibility to set custom RTMP/RTMPS hostname (#4811)
* live: set custom RTMP/RTMPS hostname
closes #4786
* dont use webserver.hostname as default
* check that rtmp/s.hostname is set
Diffstat (limited to 'config')
-rw-r--r-- | config/default.yaml | 2 | ||||
-rw-r--r-- | config/production.yaml.example | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index 1e7fb9e5b..3588a5ec9 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -396,6 +396,7 @@ live: | |||
396 | rtmp: | 396 | rtmp: |
397 | enabled: true | 397 | enabled: true |
398 | port: 1935 | 398 | port: 1935 |
399 | hostname: 'localhost' | ||
399 | 400 | ||
400 | rtmps: | 401 | rtmps: |
401 | enabled: false | 402 | enabled: false |
@@ -404,6 +405,7 @@ live: | |||
404 | key_file: '' | 405 | key_file: '' |
405 | # Absolute path | 406 | # Absolute path |
406 | cert_file: '' | 407 | cert_file: '' |
408 | hostname: 'localhost' | ||
407 | 409 | ||
408 | # Allow to transcode the live streaming in multiple live resolutions | 410 | # Allow to transcode the live streaming in multiple live resolutions |
409 | transcoding: | 411 | transcoding: |
diff --git a/config/production.yaml.example b/config/production.yaml.example index d1f18ecde..73d1ead66 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -404,6 +404,7 @@ live: | |||
404 | rtmp: | 404 | rtmp: |
405 | enabled: true | 405 | enabled: true |
406 | port: 1935 | 406 | port: 1935 |
407 | hostname: 'localhost' | ||
407 | 408 | ||
408 | rtmps: | 409 | rtmps: |
409 | enabled: false | 410 | enabled: false |
@@ -412,6 +413,7 @@ live: | |||
412 | key_file: '' | 413 | key_file: '' |
413 | # Absolute path | 414 | # Absolute path |
414 | cert_file: '' | 415 | cert_file: '' |
416 | hostname: 'localhost' | ||
415 | 417 | ||
416 | # Allow to transcode the live streaming in multiple live resolutions | 418 | # Allow to transcode the live streaming in multiple live resolutions |
417 | transcoding: | 419 | transcoding: |