From 4f20856ed4d7f5bc0e85ad40b58af8014dba48db Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 11 Jan 2021 09:20:44 +0100 Subject: Add more hints regarding live port --- .../config/edit-custom-config/edit-custom-config.component.html | 5 +++-- .../+admin/config/edit-custom-config/edit-custom-config.component.ts | 4 ++++ 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'client/src/app/+admin/config/edit-custom-config') diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html index af8a4e18d..013784c6c 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.html @@ -889,8 +889,9 @@ Allow live streaming - - ⚠️ Enabling live streaming requires trust in your users and extra moderation work + +
⚠️ Enabling live streaming requires trust in your users and extra moderation work
+
If enabled, your server needs to accept incoming TCP traffic on port {{ liveRTMPPort }}
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts index c3a833843..f74229af0 100644 --- a/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts +++ b/client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts @@ -119,6 +119,10 @@ export class EditCustomConfigComponent extends FormReactive implements OnInit, A .map(t => t.name) } + get liveRTMPPort () { + return this.serverConfig.live.rtmp.port + } + getTotalTranscodingThreads () { const transcodingEnabled = this.form.value['transcoding']['enabled'] const transcodingThreads = this.form.value['transcoding']['threads'] -- cgit v1.2.3