summaryrefslogtreecommitdiff
path: root/web/share/js/kvm/stream.js
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/kvm/stream.js')
-rw-r--r--web/share/js/kvm/stream.js4
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}}});
}
};