diff options
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | configs/janus/janus.plugin.ustreamer.jcfg | 2 | ||||
-rw-r--r-- | kvmd.install | 4 |
3 files changed, 6 insertions, 2 deletions
@@ -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 |