required ustreamer 6.24 at least

This commit is contained in:
Maxim Devaev 2025-01-19 18:20:39 +02:00
parent ab5608e3e0
commit e9443119ec
3 changed files with 6 additions and 2 deletions

View File

@ -94,7 +94,7 @@ depends=(
certbot certbot
platform-io-access platform-io-access
raspberrypi-utils raspberrypi-utils
"ustreamer>=6.21-2" "ustreamer>=6.24"
# Systemd UDEV bug # Systemd UDEV bug
"systemd>=248.3-2" "systemd>=248.3-2"

View File

@ -1,7 +1,7 @@
video: { video: {
sink = "kvmd::ustreamer::h264" sink = "kvmd::ustreamer::h264"
} }
audio: { acap: {
device = "hw:tc358743,0" device = "hw:tc358743,0"
tc358743 = "/dev/kvmd-video" tc358743 = "/dev/kvmd-video"
} }

View File

@ -108,6 +108,10 @@ EOF
fi fi
fi fi
if [[ "$(vercmp "$2" 4.45)" -lt 0 ]]; then
cp /usr/share/kvmd/configs.default/janus/janus.plugin.ustreamer.jcfg /etc/kvmd/janus || true
fi
# Some update deletes /etc/motd, WTF # Some update deletes /etc/motd, WTF
# shellcheck disable=SC2015,SC2166 # shellcheck disable=SC2015,SC2166
[ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true [ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true