diff options
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | web/share/js/kvm/stream.js | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -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}}}); } }; |