Hide live transcoding features if disabled

This commit is contained in:
Chocobozzz 2021-10-21 11:00:53 +02:00
parent a2c3564a31
commit fe228901ce
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -74,14 +74,14 @@
</td>
</tr>
<tr>
<tr *ngIf="serverConfig.live.enabled">
<th i18n class="sub-label" scope="row">Transcode live video in multiple resolutions</th>
<td>
<my-feature-boolean [value]="serverConfig.live.transcoding.enabled && serverConfig.live.transcoding.enabledResolutions.length > 1"></my-feature-boolean>
</td>
</tr>
<tr>
<tr *ngIf="serverConfig.live.enabled">
<th i18n class="sub-label" scope="row">Max parallel lives</th>
<td i18n>
{{ maxUserLives }} per user / {{ maxInstanceLives }} per instance