diff options
Diffstat (limited to 'web/share')
-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(); }, |