mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-29 17:11:52 +08:00
pikvm/pikvm#481: check webrtc caps
This commit is contained in:
@@ -126,6 +126,28 @@
|
||||
</tr>
|
||||
</table>
|
||||
<hr>
|
||||
<div class="hidden" id="stream-message-no-webrtc">
|
||||
<div class="text">
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
|
||||
<td style="line-height:1.5"><b>WebRTC is not supported by this browser</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
<div class="hidden" id="stream-message-no-h264">
|
||||
<div class="text">
|
||||
<table>
|
||||
<tr>
|
||||
<td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
|
||||
<td style="line-height:1.5"><b>H.264 is not supported by this browser</b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<hr>
|
||||
</div>
|
||||
<table class="kv" style="width: calc(100% - 20px)">
|
||||
<tr class="feature-disabled" id="stream-resolution">
|
||||
<td>Resolution:</td>
|
||||
|
||||
@@ -16,6 +16,12 @@ li(class="right")
|
||||
button(data-force-hide-menu id="gpio-button-__wol__" class="gpio-button small" data-channel="__wol__"
|
||||
data-confirm="Are you sure to send Wake-on-LAN packet to the server?") • WoL
|
||||
hr
|
||||
div(id="stream-message-no-webrtc" class="hidden")
|
||||
+menu_message("warning", "WebRTC is not supported by this browser")
|
||||
hr
|
||||
div(id="stream-message-no-h264" class="hidden")
|
||||
+menu_message("warning", "H.264 is not supported by this browser")
|
||||
hr
|
||||
table(class="kv" style="width: calc(100% - 20px)")
|
||||
tr(id="stream-resolution" class="feature-disabled")
|
||||
td Resolution:
|
||||
|
||||
Reference in New Issue
Block a user