]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Prefer using null for rtmp listen setting
authorChocobozzz <me@florianbigard.com>
Wed, 4 May 2022 14:12:49 +0000 (16:12 +0200)
committerChocobozzz <me@florianbigard.com>
Wed, 4 May 2022 14:12:49 +0000 (16:12 +0200)
config/default.yaml
config/production.yaml.example

index 79afb121beb3350e20121435451b637f4d24ea55..a27ffba02ba443ef194d93dc235e5941bd98bdcd 100644 (file)
@@ -413,8 +413,9 @@ live:
     enabled: true
 
     # Listening hostname/port for RTMP server
-    # :: to listen on IPv6 and IPv4, 0.0.0.0 to listen on IPv4
-    hostname: '::'
+    # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4
+    # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise
+    hostname: null
     port: 1935
 
     # Public hostname of your RTMP server
@@ -425,8 +426,9 @@ live:
     enabled: false
 
     # Listening hostname/port for RTMPS server
-    # :: to listen on IPv6 and IPv4, 0.0.0.0 to listen on IPv4
-    hostname: '::'
+    # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4
+    # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise
+    hostname: null
     port: 1936
 
     # Absolute paths
index 11120e667196e36dec860ad86463a50922048da0..754b1b8a8c2530d6dc393f66564d7c152f714de0 100644 (file)
@@ -421,8 +421,9 @@ live:
     enabled: true
 
     # Listening hostname/port for RTMP server
-    # :: to listen on IPv6 and IPv4, 0.0.0.0 to listen on IPv4
-    hostname: '::'
+    # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4
+    # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise
+    hostname: null
     port: 1935
 
     # Public hostname of your RTMP server
@@ -433,8 +434,9 @@ live:
     enabled: false
 
     # Listening hostname/port for RTMPS server
-    # :: to listen on IPv6 and IPv4, 0.0.0.0 to listen on IPv4
-    hostname: '::'
+    # '::' to listen on IPv6 and IPv4, '0.0.0.0' to listen on IPv4
+    # Use null to automatically listen on '::' if IPv6 is available, or '0.0.0.0' otherwise
+    hostname: null
     port: 1936
 
     # Absolute paths