diff options
author | Devaev Maxim <[email protected]> | 2021-05-19 17:05:45 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2021-05-19 17:05:45 +0300 |
commit | b66618f12d337bd6611923649b46996945ab7bbc (patch) | |
tree | 42918cc309f2ac5d133f5cedd21ed5e2dc208cdd /web/kvm | |
parent | d18c27744f5a076683c0101f14a8ce5a0ac4b671 (diff) |
h264 bitrate slider
Diffstat (limited to 'web/kvm')
-rw-r--r-- | web/kvm/index.html | 11 | ||||
-rw-r--r-- | web/kvm/navbar-system.pug | 8 |
2 files changed, 15 insertions, 4 deletions
diff --git a/web/kvm/index.html b/web/kvm/index.html index 5c580c6f..0b9f7c37 100644 --- a/web/kvm/index.html +++ b/web/kvm/index.html @@ -138,14 +138,21 @@ <td> <input class="slider" disabled type="range" id="stream-quality-slider"> </td> - <td class="value" id="stream-quality-value">80%</td> + <td class="value" id="stream-quality-value" style="min-width: 30px; max-width:30px"></td> + </tr> + <tr class="feature-disabled" id="stream-h264-bitrate"> + <td>H.264 kbps:</td> + <td> + <input class="slider" disabled type="range" id="stream-h264-bitrate-slider"> + </td> + <td class="value" id="stream-h264-bitrate-value" style="min-width: 30px; max-width:30px"></td> </tr> <tr> <td>Max FPS:</td> <td> <input class="slider" disabled type="range" id="stream-desired-fps-slider"> </td> - <td class="value" id="stream-desired-fps-value">0</td> + <td class="value" id="stream-desired-fps-value" style="min-width: 30px; max-width:30px"></td> </tr> <tr class="feature-disabled" id="stream-mode"> <td>Video mode:</td> diff --git a/web/kvm/navbar-system.pug b/web/kvm/navbar-system.pug index 3d32c260..c9db94f4 100644 --- a/web/kvm/navbar-system.pug +++ b/web/kvm/navbar-system.pug @@ -21,11 +21,15 @@ li(class="right") tr(id="stream-quality" class="feature-disabled") td JPEG quality: td #[input(disabled type="range" id="stream-quality-slider" class="slider")] - td(id="stream-quality-value" class="value") 80% + td(id="stream-quality-value" class="value" style="min-width: 30px; max-width:30px") + tr(id="stream-h264-bitrate" class="feature-disabled") + td H.264 kbps: + td #[input(disabled type="range" id="stream-h264-bitrate-slider" class="slider")] + td(id="stream-h264-bitrate-value" class="value" style="min-width: 30px; max-width:30px") tr td Max FPS: td #[input(disabled type="range" id="stream-desired-fps-slider" class="slider")] - td(id="stream-desired-fps-value" class="value") 0 + td(id="stream-desired-fps-value" class="value" style="min-width: 30px; max-width:30px") tr(id="stream-mode" class="feature-disabled") td Video mode: td |