mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
required ustreamer 6.24 at least
This commit is contained in:
parent
ab5608e3e0
commit
e9443119ec
2
PKGBUILD
2
PKGBUILD
@ -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"
|
||||||
|
|||||||
@ -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"
|
||||||
}
|
}
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user