From 6dcc41601e0dff5c81a5f8dde7e3cef3b20ac23d Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Mon, 20 Jan 2025 16:43:32 +0200 Subject: janus: check file for aplay --- PKGBUILD | 2 +- configs/janus/janus.plugin.ustreamer.jcfg | 4 ++++ kvmd.install | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index 2cc2c295..7642a65d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -94,7 +94,7 @@ depends=( certbot platform-io-access raspberrypi-utils - "ustreamer>=6.24" + "ustreamer>=6.26" # Systemd UDEV bug "systemd>=248.3-2" diff --git a/configs/janus/janus.plugin.ustreamer.jcfg b/configs/janus/janus.plugin.ustreamer.jcfg index 242477da..d90f785f 100644 --- a/configs/janus/janus.plugin.ustreamer.jcfg +++ b/configs/janus/janus.plugin.ustreamer.jcfg @@ -5,3 +5,7 @@ acap: { device = "hw:tc358743,0" tc358743 = "/dev/kvmd-video" } +aplay: { + device = "plughw:UAC2Gadget,0" + check = "/run/kvmd/otg/uac2.usb0@meta.json" +} diff --git a/kvmd.install b/kvmd.install index e6efb8e8..15ee2378 100644 --- a/kvmd.install +++ b/kvmd.install @@ -108,7 +108,7 @@ EOF fi fi - if [[ "$(vercmp "$2" 4.45)" -lt 0 ]]; then + if [[ "$(vercmp "$2" 4.47)" -lt 0 ]]; then cp /usr/share/kvmd/configs.default/janus/janus.plugin.ustreamer.jcfg /etc/kvmd/janus || true fi -- cgit v1.2.3