From 8d07888728bc5aabc7d0cd6211bc49fc45fd0353 Mon Sep 17 00:00:00 2001 From: kontrollanten <6680299+kontrollanten@users.noreply.github.com> Date: Tue, 1 Mar 2022 13:37:34 +0100 Subject: 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 --- config/default.yaml | 2 ++ config/production.yaml.example | 2 ++ 2 files changed, 4 insertions(+) (limited to 'config') 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: rtmp: enabled: true port: 1935 + hostname: 'localhost' rtmps: enabled: false @@ -404,6 +405,7 @@ live: key_file: '' # Absolute path cert_file: '' + hostname: 'localhost' # Allow to transcode the live streaming in multiple live resolutions 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: rtmp: enabled: true port: 1935 + hostname: 'localhost' rtmps: enabled: false @@ -412,6 +413,7 @@ live: key_file: '' # Absolute path cert_file: '' + hostname: 'localhost' # Allow to transcode the live streaming in multiple live resolutions transcoding: -- cgit v1.2.3