Back to start
This commit is contained in:
parent
5d7c566e95
commit
5b3d2bc001
@ -117,10 +117,6 @@ package org.bigbluebutton.core
|
|||||||
return UserManager.getInstance().getConference().amIModerator();
|
return UserManager.getInstance().getConference().amIModerator();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function myFirstConnection():Boolean {
|
|
||||||
return UserManager.getInstance().getConference().myFirstConnection();
|
|
||||||
}
|
|
||||||
|
|
||||||
public static function amIPresenter():Boolean {
|
public static function amIPresenter():Boolean {
|
||||||
return UserManager.getInstance().getConference().amIPresenter;
|
return UserManager.getInstance().getConference().amIPresenter;
|
||||||
}
|
}
|
||||||
|
@ -35,7 +35,6 @@ package org.bigbluebutton.main.model.users {
|
|||||||
public var avatarURL:String;
|
public var avatarURL:String;
|
||||||
public var voiceBridge:String;
|
public var voiceBridge:String;
|
||||||
public var dialNumber:String;
|
public var dialNumber:String;
|
||||||
public var firstConnection:Boolean = true;
|
|
||||||
[Bindable] public var record:Boolean;
|
[Bindable] public var record:Boolean;
|
||||||
|
|
||||||
private static const LOG:String = "main.model.users::Conference - ";
|
private static const LOG:String = "main.model.users::Conference - ";
|
||||||
@ -289,13 +288,6 @@ package org.bigbluebutton.main.model.users {
|
|||||||
return me.role == Role.MODERATOR;
|
return me.role == Role.MODERATOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function myFirstConnection():Boolean {
|
|
||||||
if (firstConnection) {
|
|
||||||
firstConnection = false;
|
|
||||||
return true;
|
|
||||||
} else return false;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function muteMyVoice(mute:Boolean):void {
|
public function muteMyVoice(mute:Boolean):void {
|
||||||
voiceMuted = mute;
|
voiceMuted = mute;
|
||||||
}
|
}
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
* after. (richard mar 28, 2014)
|
* after. (richard mar 28, 2014)
|
||||||
*/
|
*/
|
||||||
if (mic) {
|
if (mic) {
|
||||||
if (options.skipCheck || UsersUtil.myFirstConnection()) {
|
if (options.skipCheck) {
|
||||||
JSLog.debug(LOG + "Calling into voice conference. skipCheck=[" + options.skipCheck + "] echoTestDone=[" + echoTestDone + "]");
|
JSLog.debug(LOG + "Calling into voice conference. skipCheck=[" + options.skipCheck + "] echoTestDone=[" + echoTestDone + "]");
|
||||||
trace(LOG + "Calling into voice conference. skipCheck=[" + options.skipCheck + "] echoTestDone=[" + echoTestDone + "]");
|
trace(LOG + "Calling into voice conference. skipCheck=[" + options.skipCheck + "] echoTestDone=[" + echoTestDone + "]");
|
||||||
callIntoVoiceConference();
|
callIntoVoiceConference();
|
||||||
|
@ -127,7 +127,7 @@ package org.bigbluebutton.modules.phone.managers
|
|||||||
|
|
||||||
if (!usingWebRTC || !event.mic) return;
|
if (!usingWebRTC || !event.mic) return;
|
||||||
|
|
||||||
if (options.skipCheck || echoTestDone || UsersUtil.myFirstConnection()) {
|
if (options.skipCheck || echoTestDone) {
|
||||||
joinVoiceConference();
|
joinVoiceConference();
|
||||||
} else {
|
} else {
|
||||||
startWebRTCEchoTest();
|
startWebRTCEchoTest();
|
||||||
|
@ -120,7 +120,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|||||||
// Enter microphone at start
|
// Enter microphone at start
|
||||||
if (phoneOptions.forceListenOnly) {
|
if (phoneOptions.forceListenOnly) {
|
||||||
var command:JoinVoiceConferenceCommand = new JoinVoiceConferenceCommand();
|
var command:JoinVoiceConferenceCommand = new JoinVoiceConferenceCommand();
|
||||||
command.mic = true;
|
command.mic = false;
|
||||||
dispatcher.dispatchEvent(command);
|
dispatcher.dispatchEvent(command);
|
||||||
} else {
|
} else {
|
||||||
trace(LOG + "Sending Show Audio Selection command");
|
trace(LOG + "Sending Show Audio Selection command");
|
||||||
|
Loading…
Reference in New Issue
Block a user