summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2022-11-27 12:06:33 +0300
committerMaxim Devaev <[email protected]>2022-11-27 12:06:33 +0300
commitbd439a4323d4176cf9c2ac11a707448b3cf79da8 (patch)
tree7f5709b5cc9d3d31bd31b62080c6a2ffa0be7f7a
parent5bb8218c39fb1ba3e724abf1b03b47decc1ef9f9 (diff)
web: update for ustreamer 5.32
-rw-r--r--PKGBUILD2
-rw-r--r--web/share/js/kvm/stream.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 85029ee6..269bf819 100644
--- a/PKGBUILD
+++ b/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"
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js
index f3d9c555..c84e8719 100644
--- a/web/share/js/kvm/stream.js
+++ b/web/share/js/kvm/stream.js
@@ -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}}});
}
};