mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-12 09:10:30 +08:00
audio slider fix
This commit is contained in:
parent
124ed635ed
commit
9fe588ac46
@ -215,7 +215,7 @@ function _JanusStreamer(__setActive, __setInactive, __setInfo) {
|
|||||||
|
|
||||||
onremotestream: function(stream) {
|
onremotestream: function(stream) {
|
||||||
__logInfo("Got a remote stream:", stream);
|
__logInfo("Got a remote stream:", stream);
|
||||||
__setAudioEnabled(!!stream.getAudioTracks());
|
__setAudioEnabled(!!stream.getAudioTracks().length);
|
||||||
_Janus.attachMediaStream($("stream-video"), stream);
|
_Janus.attachMediaStream($("stream-video"), stream);
|
||||||
__startInfoInterval();
|
__startInfoInterval();
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user