audio slider fix

This commit is contained in:
Maxim Devaev 2022-06-02 10:25:49 +03:00
parent 124ed635ed
commit 9fe588ac46

View File

@ -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();
},