Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Hide live transcoding features if disabled

Chocobozzzfe228901ce3d
diff --git a/client/src/app/shared/shared-instance/instance-features-table.component.html b/client/src/app/shared/shared-instance/instance-features-table.component.html
index 3fc5920b5e..83440e87ce 100644
--- a/client/src/app/shared/shared-instance/instance-features-table.component.html
+++ b/client/src/app/shared/shared-instance/instance-features-table.component.html
@@ -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