mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
janus: check file for aplay
This commit is contained in:
parent
b9af5f8825
commit
6dcc41601e
2
PKGBUILD
2
PKGBUILD
@ -94,7 +94,7 @@ depends=(
|
|||||||
certbot
|
certbot
|
||||||
platform-io-access
|
platform-io-access
|
||||||
raspberrypi-utils
|
raspberrypi-utils
|
||||||
"ustreamer>=6.24"
|
"ustreamer>=6.26"
|
||||||
|
|
||||||
# Systemd UDEV bug
|
# Systemd UDEV bug
|
||||||
"systemd>=248.3-2"
|
"systemd>=248.3-2"
|
||||||
|
|||||||
@ -5,3 +5,7 @@ acap: {
|
|||||||
device = "hw:tc358743,0"
|
device = "hw:tc358743,0"
|
||||||
tc358743 = "/dev/kvmd-video"
|
tc358743 = "/dev/kvmd-video"
|
||||||
}
|
}
|
||||||
|
aplay: {
|
||||||
|
device = "plughw:UAC2Gadget,0"
|
||||||
|
check = "/run/kvmd/otg/uac2.usb0@meta.json"
|
||||||
|
}
|
||||||
|
|||||||
@ -108,7 +108,7 @@ EOF
|
|||||||
fi
|
fi
|
||||||
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
|
cp /usr/share/kvmd/configs.default/janus/janus.plugin.ustreamer.jcfg /etc/kvmd/janus || true
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user