pikvm/pikvm#481: check webrtc caps

This commit is contained in:
Maxim Devaev
2021-10-02 03:36:48 +03:00
parent c162bb7ea4
commit fdf3c0f8d4
3 changed files with 41 additions and 4 deletions

View File

@@ -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>