mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 01:00:29 +08:00
web: update for ustreamer 5.32
This commit is contained in:
parent
5bb8218c39
commit
bd439a4323
2
PKGBUILD
2
PKGBUILD
@ -81,7 +81,7 @@ depends=(
|
||||
"janus-gateway-pikvm>=0.11.2-7"
|
||||
certbot
|
||||
platform-io-access
|
||||
"ustreamer>=5.30"
|
||||
"ustreamer>=5.32"
|
||||
|
||||
# Systemd UDEV bug
|
||||
"systemd>=248.3-2"
|
||||
|
||||
@ -182,7 +182,7 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) {
|
||||
}
|
||||
} else if (msg.error_code || msg.error) {
|
||||
__logError("Got uStreamer error message:", msg.error_code, "-", msg.error);
|
||||
__setInfo(false, false, (msg.error_code === 503 ? "Waiting for keyframe ..." : msg.error));
|
||||
__setInfo(false, false, msg.error);
|
||||
if (__retry_emsg_timeout === null) {
|
||||
__retry_emsg_timeout = setTimeout(function() {
|
||||
if (!__stop) {
|
||||
@ -293,7 +293,7 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) {
|
||||
var __sendWatch = function() {
|
||||
if (__handle) {
|
||||
__logInfo("Sending WATCH ...");
|
||||
__handle.send({"message": {"request": "watch"}});
|
||||
__handle.send({"message": {"request": "watch", "params": {"audio": true}}});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user