aboutsummaryrefslogtreecommitdiffhomepage
path: root/config
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-05-02 14:32:12 +0200
committerChocobozzz <me@florianbigard.com>2022-05-02 14:32:12 +0200
commitcfbe6be516808de4b45ca9d98f912999ef8daaab (patch)
treef458df7621833582ccd350a00c5c0404fe782a88 /config
parent42efd780a2db0925b6befd308bd8fc6590117546 (diff)
downloadPeerTube-cfbe6be516808de4b45ca9d98f912999ef8daaab.tar.gz
PeerTube-cfbe6be516808de4b45ca9d98f912999ef8daaab.tar.zst
PeerTube-cfbe6be516808de4b45ca9d98f912999ef8daaab.zip
Add ability to provide rtmp listening hostname
Diffstat (limited to 'config')
-rw-r--r--config/default.yaml18
-rw-r--r--config/production.yaml.example18
2 files changed, 28 insertions, 8 deletions
diff --git a/config/default.yaml b/config/default.yaml
index 017b63e49..7af9c929f 100644
--- a/config/default.yaml
+++ b/config/default.yaml
@@ -411,17 +411,27 @@ live:
411 # Your firewall should accept traffic from this port in TCP if you enable live 411 # Your firewall should accept traffic from this port in TCP if you enable live
412 rtmp: 412 rtmp:
413 enabled: true 413 enabled: true
414 port: 1935 414
415 hostname: 'localhost' 415 hostname: 'localhost'
416 port: 1935
417
418 # Public endpoint of your RTMP server
419 # Use null to use the same value than `webserver.hostname`
420 public_hostname: null
416 421
417 rtmps: 422 rtmps:
418 enabled: false 423 enabled: false
424
425 hostname: 'localhost'
419 port: 1936 426 port: 1936
420 # Absolute path 427
428 # Absolute paths
421 key_file: '' 429 key_file: ''
422 # Absolute path
423 cert_file: '' 430 cert_file: ''
424 hostname: 'localhost' 431
432 # Public endpoint of your RTMPS server
433 # Use null to use the same value than `webserver.hostname`
434 public_hostname: null
425 435
426 # Allow to transcode the live streaming in multiple live resolutions 436 # Allow to transcode the live streaming in multiple live resolutions
427 transcoding: 437 transcoding:
diff --git a/config/production.yaml.example b/config/production.yaml.example
index 8bdd30e2d..048cb37e8 100644
--- a/config/production.yaml.example
+++ b/config/production.yaml.example
@@ -419,17 +419,27 @@ live:
419 # Your firewall should accept traffic from this port in TCP if you enable live 419 # Your firewall should accept traffic from this port in TCP if you enable live
420 rtmp: 420 rtmp:
421 enabled: true 421 enabled: true
422 port: 1935 422
423 hostname: 'localhost' 423 hostname: 'localhost'
424 port: 1935
425
426 # Public endpoint of your RTMP server
427 # Use null to use the same value than `webserver.hostname`
428 public_hostname: null
424 429
425 rtmps: 430 rtmps:
426 enabled: false 431 enabled: false
432
433 hostname: 'localhost'
427 port: 1936 434 port: 1936
428 # Absolute path 435
436 # Absolute paths
429 key_file: '' 437 key_file: ''
430 # Absolute path
431 cert_file: '' 438 cert_file: ''
432 hostname: 'localhost' 439
440 # Public endpoint of your RTMPS server
441 # Use null to use the same value than `webserver.hostname`
442 public_hostname: null
433 443
434 # Allow to transcode the live streaming in multiple live resolutions 444 # Allow to transcode the live streaming in multiple live resolutions
435 transcoding: 445 transcoding: