improved stream diagnostics

This commit is contained in:
Maxim Devaev 2025-05-27 19:30:57 +03:00
parent 6f971a7c54
commit 4a2c642c49
2 changed files with 6 additions and 6 deletions

View File

@ -97,7 +97,7 @@ depends=(
certbot certbot
platform-io-access platform-io-access
raspberrypi-utils raspberrypi-utils
"ustreamer>=6.33" "ustreamer>=6.37"
# Systemd UDEV bug # Systemd UDEV bug
"systemd>=248.3-2" "systemd>=248.3-2"
@ -213,7 +213,7 @@ for _variant in "${_variants[@]}"; do
cd \"kvmd-\$pkgver\" cd \"kvmd-\$pkgver\"
pkgdesc=\"PiKVM platform configs - $_platform for $_board\" pkgdesc=\"PiKVM platform configs - $_platform for $_board\"
depends=(kvmd=$pkgver-$pkgrel \"linux-rpi-pikvm>=6.6.45-10\" \"raspberrypi-bootloader-pikvm>=20240818-1\") depends=(kvmd=$pkgver-$pkgrel \"linux-rpi-pikvm>=6.6.45-13\" \"raspberrypi-bootloader-pikvm>=20240818-1\")
backup=( backup=(
etc/sysctl.d/99-kvmd.conf etc/sysctl.d/99-kvmd.conf

View File

@ -45,7 +45,7 @@ export function Streamer() {
var __init__ = function() { var __init__ = function() {
__streamer = new MjpegStreamer(__setActive, __setInactive, __setInfo, __organizeHook); __streamer = new MjpegStreamer(__setActive, __setInactive, __setInfo, __organizeHook);
$("stream-led").title = "Stream inactive"; $("stream-led").title = "No stream from PiKVM";
tools.slider.setParams($("stream-quality-slider"), 5, 100, 5, 80, function(value) { tools.slider.setParams($("stream-quality-slider"), 5, 100, 5, 80, function(value) {
$("stream-quality-value").innerText = `${value}%`; $("stream-quality-value").innerText = `${value}%`;
@ -261,7 +261,7 @@ export function Streamer() {
var __setInactive = function() { var __setInactive = function() {
$("stream-led").className = "led-gray"; $("stream-led").className = "led-gray";
$("stream-led").title = "Stream inactive"; $("stream-led").title = "No stream from PiKVM";
}; };
var __setControlsEnabled = function(enabled) { var __setControlsEnabled = function(enabled) {
@ -279,7 +279,7 @@ export function Streamer() {
let title = `${__streamer.getName()} - `; let title = `${__streamer.getName()} - `;
if (is_active) { if (is_active) {
if (!online) { if (!online) {
title += "No signal / "; title += "No video from host / ";
} }
title += `${__res.width}x${__res.height}`; title += `${__res.width}x${__res.height}`;
if (text.length > 0) { if (text.length > 0) {
@ -289,7 +289,7 @@ export function Streamer() {
if (text.length > 0) { if (text.length > 0) {
title += text; title += text;
} else { } else {
title += "Inactive"; title += "No stream from PiKVM";
} }
} }
el_grab.innerText = el_info.innerText = title; el_grab.innerText = el_info.innerText = title;