mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
web fixes, verbose video modes name
This commit is contained in:
parent
d1a12f1f6a
commit
3b5e539012
@ -175,7 +175,7 @@
|
|||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
|
<td rowspan="2"><img class="sign " src="/share/svg/warning.svg"></td>
|
||||||
<td style="line-height:1.5"><b>Direct HTTP H.264 streaming is not supported</b></td>
|
<td style="line-height:1.5"><b>Direct H.264 streaming is not supported</b></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
@ -203,7 +203,7 @@
|
|||||||
<td>JPEG quality:
|
<td>JPEG quality:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="stream-quality-slider">
|
<input type="range" id="stream-quality-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="stream-quality-value"></td>
|
<td class="value-number" id="stream-quality-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -211,7 +211,7 @@
|
|||||||
<td>JPEG max fps:
|
<td>JPEG max fps:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="stream-desired-fps-slider">
|
<input type="range" id="stream-desired-fps-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="stream-desired-fps-value"></td>
|
<td class="value-number" id="stream-desired-fps-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -219,7 +219,7 @@
|
|||||||
<td>H.264 kbps:
|
<td>H.264 kbps:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="stream-h264-bitrate-slider">
|
<input type="range" id="stream-h264-bitrate-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="stream-h264-bitrate-value"></td>
|
<td class="value-number" id="stream-h264-bitrate-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -227,7 +227,7 @@
|
|||||||
<td>H.264 <a target="_blank" href="https://docs.pikvm.org/webrtc">gop</a>:
|
<td>H.264 <a target="_blank" href="https://docs.pikvm.org/webrtc">gop</a>:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="stream-h264-gop-slider">
|
<input type="range" id="stream-h264-gop-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="stream-h264-gop-value"></td>
|
<td class="value-number" id="stream-h264-gop-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -237,11 +237,11 @@
|
|||||||
<td>
|
<td>
|
||||||
<div class="radio-box">
|
<div class="radio-box">
|
||||||
<input type="radio" id="stream-mode-radio-janus" name="stream-mode-radio" value="janus">
|
<input type="radio" id="stream-mode-radio-janus" name="stream-mode-radio" value="janus">
|
||||||
<label for="stream-mode-radio-janus">WebRTC</label>
|
<label for="stream-mode-radio-janus">WebRTC<br>H.264</label>
|
||||||
<input type="radio" id="stream-mode-radio-media" name="stream-mode-radio" value="media">
|
<input type="radio" id="stream-mode-radio-media" name="stream-mode-radio" value="media">
|
||||||
<label for="stream-mode-radio-media">H.264</label>
|
<label for="stream-mode-radio-media">Direct<br>H.264</label>
|
||||||
<input type="radio" id="stream-mode-radio-mjpeg" name="stream-mode-radio" value="mjpeg" checked>
|
<input type="radio" id="stream-mode-radio-mjpeg" name="stream-mode-radio" value="mjpeg" checked>
|
||||||
<label for="stream-mode-radio-mjpeg">MJPEG</label>
|
<label for="stream-mode-radio-mjpeg">Legacy<br>MJPEG</label>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -265,7 +265,7 @@
|
|||||||
<td>Audio volume:
|
<td>Audio volume:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="stream-audio-volume-slider">
|
<input type="range" id="stream-audio-volume-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="stream-audio-volume-value"></td>
|
<td class="value-number" id="stream-audio-volume-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -322,7 +322,7 @@
|
|||||||
<td>Mouse polling:
|
<td>Mouse polling:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="hid-mouse-rate-slider">
|
<input type="range" id="hid-mouse-rate-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="hid-mouse-rate-value"></td>
|
<td class="value-number" id="hid-mouse-rate-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -330,7 +330,7 @@
|
|||||||
<td>Relative sensitivity:
|
<td>Relative sensitivity:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="hid-mouse-sens-slider">
|
<input type="range" id="hid-mouse-sens-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="hid-mouse-sens-value"></td>
|
<td class="value-number" id="hid-mouse-sens-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -384,7 +384,7 @@
|
|||||||
<td>Scroll rate:
|
<td>Scroll rate:
|
||||||
</td>
|
</td>
|
||||||
<td class="value-slider">
|
<td class="value-slider">
|
||||||
<input class="slider" type="range" id="hid-mouse-scroll-slider">
|
<input type="range" id="hid-mouse-scroll-slider">
|
||||||
</td>
|
</td>
|
||||||
<td class="value-number" id="hid-mouse-scroll-value"></td>
|
<td class="value-number" id="hid-mouse-scroll-value"></td>
|
||||||
</tr>
|
</tr>
|
||||||
@ -450,7 +450,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="feature-disabled" id="hid-jiggler">
|
<tr class="feature-disabled" id="hid-jiggler">
|
||||||
<td><a target="_blank" href="https://docs.pikvm.org/mouse_jiggler">Mouse jiggler:</a>
|
<td><a target="_blank" href="https://docs.pikvm.org/mouse_jiggler">Mouse jiggler</a>:
|
||||||
</td>
|
</td>
|
||||||
<td align="right">
|
<td align="right">
|
||||||
<div class="switch-box">
|
<div class="switch-box">
|
||||||
|
|||||||
@ -30,7 +30,7 @@ li.right#system-dropdown
|
|||||||
+menu_message("warning", "WebRTC is not supported by this browser")
|
+menu_message("warning", "WebRTC is not supported by this browser")
|
||||||
hr
|
hr
|
||||||
.hidden#stream-message-no-vd
|
.hidden#stream-message-no-vd
|
||||||
+menu_message("warning", "Direct HTTP H.264 streaming is not supported")
|
+menu_message("warning", "Direct H.264 streaming is not supported")
|
||||||
hr
|
hr
|
||||||
.hidden#stream-message-no-h264
|
.hidden#stream-message-no-h264
|
||||||
+menu_message("warning", "H.264 is not supported by this browser")
|
+menu_message("warning", "H.264 is not supported by this browser")
|
||||||
@ -51,9 +51,9 @@ li.right#system-dropdown
|
|||||||
|H.264 #[a(target="_blank" href="https://docs.pikvm.org/webrtc") gop]:
|
|H.264 #[a(target="_blank" href="https://docs.pikvm.org/webrtc") gop]:
|
||||||
tr.feature-disabled#stream-mode
|
tr.feature-disabled#stream-mode
|
||||||
+menu_radio_td2("stream-mode-radio", [
|
+menu_radio_td2("stream-mode-radio", [
|
||||||
{title: "WebRTC", value: "janus"},
|
{title: "WebRTC<br>H.264", value: "janus"},
|
||||||
{title: "H.264", value: "media"},
|
{title: "Direct<br>H.264", value: "media"},
|
||||||
{title: "MJPEG", value: "mjpeg", checked: true},
|
{title: "Legacy<br>MJPEG", value: "mjpeg", checked: true},
|
||||||
]) #[a(target="_blank" href="https://docs.pikvm.org/webrtc") Video mode]:
|
]) #[a(target="_blank" href="https://docs.pikvm.org/webrtc") Video mode]:
|
||||||
tr.feature-disabled#stream-orient
|
tr.feature-disabled#stream-orient
|
||||||
+menu_radio_td2("stream-orient-radio", [
|
+menu_radio_td2("stream-orient-radio", [
|
||||||
@ -121,7 +121,7 @@ li.right#system-dropdown
|
|||||||
+menu_switch_td2("hid-connect-switch", true, true) Connect HID to Server:
|
+menu_switch_td2("hid-connect-switch", true, true) Connect HID to Server:
|
||||||
tr.feature-disabled#hid-jiggler
|
tr.feature-disabled#hid-jiggler
|
||||||
+menu_switch_td2("hid-jiggler-switch", false, false)
|
+menu_switch_td2("hid-jiggler-switch", false, false)
|
||||||
a(target="_blank" href="https://docs.pikvm.org/mouse_jiggler") Mouse jiggler:
|
| #[a(target="_blank" href="https://docs.pikvm.org/mouse_jiggler") Mouse jiggler]:
|
||||||
tr
|
tr
|
||||||
+menu_switch_td2("hid-mute-switch", true, false) Mute all input HID events:
|
+menu_switch_td2("hid-mute-switch", true, false) Mute all input HID events:
|
||||||
tr.feature-disabled#v3-usb-breaker
|
tr.feature-disabled#v3-usb-breaker
|
||||||
|
|||||||
@ -70,7 +70,7 @@ mixin menu_slider_td3(slider_id, value_id, enabled)
|
|||||||
td
|
td
|
||||||
block
|
block
|
||||||
td.value-slider
|
td.value-slider
|
||||||
input.slider(type="range" id=slider_id disabled=!enabled)
|
input(type="range" id=slider_id disabled=!enabled)
|
||||||
td.value-number(id=value_id)
|
td.value-number(id=value_id)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user