diff options
author | Maxim Devaev <[email protected]> | 2022-11-27 12:06:33 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-11-27 12:06:33 +0300 |
commit | bd439a4323d4176cf9c2ac11a707448b3cf79da8 (patch) | |
tree | 7f5709b5cc9d3d31bd31b62080c6a2ffa0be7f7a /web/share/js | |
parent | 5bb8218c39fb1ba3e724abf1b03b47decc1ef9f9 (diff) |
web: update for ustreamer 5.32
Diffstat (limited to 'web/share/js')
-rw-r--r-- | web/share/js/kvm/stream.js | 4 |
1 files changed, 2 insertions, 2 deletions
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}}}); } }; |