diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-04 09:10:25 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-04 09:10:25 +0200 |
commit | 9c5e58226933e1a1b03d08944df5572f21638619 (patch) | |
tree | 7db86dd469821d6f5723140c26db48af807d168f | |
parent | 6348fb18840c912e107cfbc0f51d1c440b9c1cba (diff) | |
download | PeerTube-9c5e58226933e1a1b03d08944df5572f21638619.tar.gz PeerTube-9c5e58226933e1a1b03d08944df5572f21638619.tar.zst PeerTube-9c5e58226933e1a1b03d08944df5572f21638619.zip |
Better config comments for RTMP/RTMPS
-rw-r--r-- | config/default.yaml | 6 | ||||
-rw-r--r-- | config/production.yaml.example | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/config/default.yaml b/config/default.yaml index 7af9c929f..2b4a7cbc2 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -412,16 +412,18 @@ live: | |||
412 | rtmp: | 412 | rtmp: |
413 | enabled: true | 413 | enabled: true |
414 | 414 | ||
415 | # Listening hostname/port for RTMP server | ||
415 | hostname: 'localhost' | 416 | hostname: 'localhost' |
416 | port: 1935 | 417 | port: 1935 |
417 | 418 | ||
418 | # Public endpoint of your RTMP server | 419 | # Public hostname of your RTMP server |
419 | # Use null to use the same value than `webserver.hostname` | 420 | # Use null to use the same value than `webserver.hostname` |
420 | public_hostname: null | 421 | public_hostname: null |
421 | 422 | ||
422 | rtmps: | 423 | rtmps: |
423 | enabled: false | 424 | enabled: false |
424 | 425 | ||
426 | # Listening hostname/port for RTMPS server | ||
425 | hostname: 'localhost' | 427 | hostname: 'localhost' |
426 | port: 1936 | 428 | port: 1936 |
427 | 429 | ||
@@ -429,7 +431,7 @@ live: | |||
429 | key_file: '' | 431 | key_file: '' |
430 | cert_file: '' | 432 | cert_file: '' |
431 | 433 | ||
432 | # Public endpoint of your RTMPS server | 434 | # Public hostname of your RTMPS server |
433 | # Use null to use the same value than `webserver.hostname` | 435 | # Use null to use the same value than `webserver.hostname` |
434 | public_hostname: null | 436 | public_hostname: null |
435 | 437 | ||
diff --git a/config/production.yaml.example b/config/production.yaml.example index 048cb37e8..c5ba5d218 100644 --- a/config/production.yaml.example +++ b/config/production.yaml.example | |||
@@ -420,16 +420,18 @@ live: | |||
420 | rtmp: | 420 | rtmp: |
421 | enabled: true | 421 | enabled: true |
422 | 422 | ||
423 | # Listening hostname/port for RTMP server | ||
423 | hostname: 'localhost' | 424 | hostname: 'localhost' |
424 | port: 1935 | 425 | port: 1935 |
425 | 426 | ||
426 | # Public endpoint of your RTMP server | 427 | # Public hostname of your RTMP server |
427 | # Use null to use the same value than `webserver.hostname` | 428 | # Use null to use the same value than `webserver.hostname` |
428 | public_hostname: null | 429 | public_hostname: null |
429 | 430 | ||
430 | rtmps: | 431 | rtmps: |
431 | enabled: false | 432 | enabled: false |
432 | 433 | ||
434 | # Listening hostname/port for RTMPS server | ||
433 | hostname: 'localhost' | 435 | hostname: 'localhost' |
434 | port: 1936 | 436 | port: 1936 |
435 | 437 | ||
@@ -437,7 +439,7 @@ live: | |||
437 | key_file: '' | 439 | key_file: '' |
438 | cert_file: '' | 440 | cert_file: '' |
439 | 441 | ||
440 | # Public endpoint of your RTMPS server | 442 | # Public hostname of your RTMPS server |
441 | # Use null to use the same value than `webserver.hostname` | 443 | # Use null to use the same value than `webserver.hostname` |
442 | public_hostname: null | 444 | public_hostname: null |
443 | 445 | ||