From cfbe6be516808de4b45ca9d98f912999ef8daaab Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 2 May 2022 14:32:12 +0200 Subject: Add ability to provide rtmp listening hostname --- config/default.yaml | 18 ++++++++++++++---- config/production.yaml.example | 18 ++++++++++++++---- 2 files changed, 28 insertions(+), 8 deletions(-) (limited to 'config') 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: # Your firewall should accept traffic from this port in TCP if you enable live rtmp: enabled: true - port: 1935 + hostname: 'localhost' + port: 1935 + + # Public endpoint of your RTMP server + # Use null to use the same value than `webserver.hostname` + public_hostname: null rtmps: enabled: false + + hostname: 'localhost' port: 1936 - # Absolute path + + # Absolute paths key_file: '' - # Absolute path cert_file: '' - hostname: 'localhost' + + # Public endpoint of your RTMPS server + # Use null to use the same value than `webserver.hostname` + public_hostname: null # Allow to transcode the live streaming in multiple live resolutions 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: # Your firewall should accept traffic from this port in TCP if you enable live rtmp: enabled: true - port: 1935 + hostname: 'localhost' + port: 1935 + + # Public endpoint of your RTMP server + # Use null to use the same value than `webserver.hostname` + public_hostname: null rtmps: enabled: false + + hostname: 'localhost' port: 1936 - # Absolute path + + # Absolute paths key_file: '' - # Absolute path cert_file: '' - hostname: 'localhost' + + # Public endpoint of your RTMPS server + # Use null to use the same value than `webserver.hostname` + public_hostname: null # Allow to transcode the live streaming in multiple live resolutions transcoding: -- cgit v1.2.3