diff options
author | Maxim Devaev <[email protected]> | 2022-06-02 10:25:49 +0300 |
---|---|---|
committer | Maxim Devaev <[email protected]> | 2022-06-02 10:25:49 +0300 |
commit | 9fe588ac46154fd11539e81ea17a2b667e1410b8 (patch) | |
tree | fb9b6bb0cf8317afafc78e920dfec52a0acf3748 | |
parent | 124ed635ed7d751987dbfa7939c5a0f755ece3fa (diff) |
audio slider fix
-rw-r--r-- | web/share/js/kvm/stream.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/share/js/kvm/stream.js b/web/share/js/kvm/stream.js index e2e03715..f472a7dd 100644 --- a/web/share/js/kvm/stream.js +++ b/web/share/js/kvm/stream.js @@ -215,7 +215,7 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) { onremotestream: function(stream) { __logInfo("Got a remote stream:", stream); - __setAudioEnabled(!!stream.getAudioTracks()); + __setAudioEnabled(!!stream.getAudioTracks().length); _Janus.attachMediaStream($("stream-video"), stream); __startInfoInterval(); }, |