Minor mute bug in Classroom Audio Module

This commit is contained in:
@deniszgonjanin 2011-03-04 19:22:23 -05:00
parent 67d94a0057
commit 8336bc77e2
2 changed files with 5 additions and 5 deletions

View File

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

View File

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