Minor mute bug in Classroom Audio Module
This commit is contained in:
parent
67d94a0057
commit
8336bc77e2
@ -103,10 +103,10 @@ package org.bigbluebutton.modules.classyaudio.managers
|
|||||||
|
|
||||||
private function muteIfNotPresenter():void{
|
private function muteIfNotPresenter():void{
|
||||||
var presenter:User = UserManager.getInstance().getPresenter();
|
var presenter:User = UserManager.getInstance().getPresenter();
|
||||||
if (presenter == null){
|
if (presenter != null){
|
||||||
streamManager.mute();
|
if (presenter.userid != attributes.userid){
|
||||||
} else if (presenter.userid != attributes.userid){
|
streamManager.mute();
|
||||||
streamManager.mute();
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -120,7 +120,7 @@ package org.bigbluebutton.modules.classyaudio.managers
|
|||||||
//outgoingStream.attachAudio(null);
|
//outgoingStream.attachAudio(null);
|
||||||
muted = true;
|
muted = true;
|
||||||
|
|
||||||
mic.setSilenceLevel(100, 20000);
|
mic.setSilenceLevel(100, 0);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user