diff options
author | Chocobozzz <me@florianbigard.com> | 2021-01-11 09:20:44 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-01-11 09:20:44 +0100 |
commit | 4f20856ed4d7f5bc0e85ad40b58af8014dba48db (patch) | |
tree | 10750010905c5dd2cdb74cf7c5beac2ecd5e4967 /client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | |
parent | 7e4e8119e18d1d52ed0648e922fe03dc9a35fcbc (diff) | |
download | PeerTube-4f20856ed4d7f5bc0e85ad40b58af8014dba48db.tar.gz PeerTube-4f20856ed4d7f5bc0e85ad40b58af8014dba48db.tar.zst PeerTube-4f20856ed4d7f5bc0e85ad40b58af8014dba48db.zip |
Add more hints regarding live port
Diffstat (limited to 'client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts')
-rw-r--r-- | client/src/app/+admin/config/edit-custom-config/edit-custom-config.component.ts | 4 |
1 files changed, 4 insertions, 0 deletions
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 | |||
119 | .map(t => t.name) | 119 | .map(t => t.name) |
120 | } | 120 | } |
121 | 121 | ||
122 | get liveRTMPPort () { | ||
123 | return this.serverConfig.live.rtmp.port | ||
124 | } | ||
125 | |||
122 | getTotalTranscodingThreads () { | 126 | getTotalTranscodingThreads () { |
123 | const transcodingEnabled = this.form.value['transcoding']['enabled'] | 127 | const transcodingEnabled = this.form.value['transcoding']['enabled'] |
124 | const transcodingThreads = this.form.value['transcoding']['threads'] | 128 | const transcodingThreads = this.form.value['transcoding']['threads'] |