summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2025-01-19 18:20:39 +0200
committerMaxim Devaev <[email protected]>2025-01-19 18:20:39 +0200
commite9443119ec756486fcae11c2307b2582cc8456b3 (patch)
tree3837e0b17cbe029f2c115008754262bf400b567f
parentab5608e3e001a3b6982e675f53477e40f410dfd3 (diff)
required ustreamer 6.24 at least
-rw-r--r--PKGBUILD2
-rw-r--r--configs/janus/janus.plugin.ustreamer.jcfg2
-rw-r--r--kvmd.install4
3 files changed, 6 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6a7942e3..69fc66f8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -94,7 +94,7 @@ depends=(
certbot
platform-io-access
raspberrypi-utils
- "ustreamer>=6.21-2"
+ "ustreamer>=6.24"
# Systemd UDEV bug
"systemd>=248.3-2"
diff --git a/configs/janus/janus.plugin.ustreamer.jcfg b/configs/janus/janus.plugin.ustreamer.jcfg
index aa297330..242477da 100644
--- a/configs/janus/janus.plugin.ustreamer.jcfg
+++ b/configs/janus/janus.plugin.ustreamer.jcfg
@@ -1,7 +1,7 @@
video: {
sink = "kvmd::ustreamer::h264"
}
-audio: {
+acap: {
device = "hw:tc358743,0"
tc358743 = "/dev/kvmd-video"
}
diff --git a/kvmd.install b/kvmd.install
index 8a79b15d..e6efb8e8 100644
--- a/kvmd.install
+++ b/kvmd.install
@@ -108,6 +108,10 @@ EOF
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
# shellcheck disable=SC2015,SC2166
[ ! -f /etc/motd -a -f /etc/motd.pacsave ] && mv /etc/motd.pacsave /etc/motd || true