pikvm/pikvm#1498: Option to suspend stream on inactive tab

This commit is contained in:
Maxim Devaev
2025-06-11 18:40:53 +03:00
parent a5e226e168
commit 0e3c821863
3 changed files with 26 additions and 3 deletions

View File

@@ -426,6 +426,16 @@
</div>
</td>
</tr>
<tr>
<td>Suspend stream when tab is not active:
</td>
<td align="right">
<div class="switch-box">
<input type="checkbox" id="stream-suspend-switch">
<label for="stream-suspend-switch"><span class="switch-inner"></span><span class="switch"></span></label>
</div>
</td>
</tr>
</table>
</div>
</details>

View File

@@ -112,6 +112,8 @@ li.right#system-dropdown
+menu_switch_td2("page-close-ask-switch", true, true) Ask page close confirmation:
tr
+menu_switch_td2("page-full-tab-stream-switch", true, false) Expand for the entire tab by default:
tr
+menu_switch_td2("stream-suspend-switch", true, false) Suspend stream when tab is not active:
table.kv
tr