This commit is contained in:
Felipe Cecagno 2014-10-05 16:12:12 -03:00
parent 89a9962b3d
commit b9df767480
3 changed files with 13 additions and 12 deletions

View File

@ -104,7 +104,7 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
private function reInitialize():void { private function reInitialize():void {
my_nc = new NetConnection(); my_nc = new NetConnection();
my_nc.proxyType = "best"; my_nc.proxyType = "best";
my_nc.connect(null); my_nc.connect(null);
nsStream = new NetStream(my_nc); nsStream = new NetStream(my_nc);
if (mic != null) { if (mic != null) {

View File

@ -80,9 +80,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
trace(LOG + "startPhone 2 enabled=[" + enabled + "] selected=[" + selected + "]"); trace(LOG + "startPhone 2 enabled=[" + enabled + "] selected=[" + selected + "]");
JSLog.debug(LOG + "startPhone 2 enabled=[" + enabled + "] selected=[" + selected + "]"); JSLog.debug(LOG + "startPhone 2 enabled=[" + enabled + "] selected=[" + selected + "]");
if (this.selected) { if (this.selected) {
if (phoneOptions.autoJoin && phoneOptions.forceListenOnly) { if (phoneOptions.autoJoin && phoneOptions.forceListenOnly) {
dispatcher.dispatchEvent(new LeaveVoiceConferenceCommand()); dispatcher.dispatchEvent(new LeaveVoiceConferenceCommand());
} }
//trace(LOG + "Sending Join Conference command"); //trace(LOG + "Sending Join Conference command");
//dispatcher.dispatchEvent(new JoinVoiceConferenceCommand()); //dispatcher.dispatchEvent(new JoinVoiceConferenceCommand());
trace(LOG + "Sending Show Audio Selection command"); trace(LOG + "Sending Show Audio Selection command");
@ -95,11 +95,12 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
} }
} }
public function remoteClick(event:ShortcutEvent):void { public function remoteClick(event:ShortcutEvent):void{
this.selected = true; this.selected = true;
startPhone(); startPhone();
} }
private function mouseOverHandler(event:MouseEvent):void { private function mouseOverHandler(event:MouseEvent):void {
if(_currentState == ACTIVE_STATE) if(_currentState == ACTIVE_STATE)
this.styleName = "voiceConfInactiveButtonStyle"; this.styleName = "voiceConfInactiveButtonStyle";
@ -137,9 +138,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
trace(LOG + "onUserJoinedConference enabled=[" + enabled + "] selected=[" + selected + "]"); trace(LOG + "onUserJoinedConference enabled=[" + enabled + "] selected=[" + selected + "]");
_currentState = ACTIVE_STATE; _currentState = ACTIVE_STATE;
this.styleName = "voiceConfActiveButtonStyle"; this.styleName = "voiceConfActiveButtonStyle";
this.toolTip = ResourceUtil.getInstance().getString('bbb.toolbar.phone.toolTip.stop'); this.toolTip = ResourceUtil.getInstance().getString('bbb.toolbar.phone.toolTip.stop');
} }
private function onUserJoinedListenOnlyConference():void { private function onUserJoinedListenOnlyConference():void {
this.selected = false; this.selected = false;
this.enabled = true; this.enabled = true;
@ -217,9 +218,9 @@ with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
_currentState = DEFAULT_STATE; _currentState = DEFAULT_STATE;
this.styleName = "voiceConfDefaultButtonStyle"; this.styleName = "voiceConfDefaultButtonStyle";
this.toolTip = ResourceUtil.getInstance().getString('bbb.toolbar.phone.toolTip.start'); this.toolTip = ResourceUtil.getInstance().getString('bbb.toolbar.phone.toolTip.start');
if (phoneOptions.autoJoin && phoneOptions.forceListenOnly) { if (phoneOptions.autoJoin && phoneOptions.forceListenOnly) {
joinDefaultListenOnlyMode(); joinDefaultListenOnlyMode();
} }
} }
//For whatever reason the tooltip does not update when localization is changed dynamically. Overrideing it here //For whatever reason the tooltip does not update when localization is changed dynamically. Overrideing it here

View File

@ -112,7 +112,7 @@ disableRecordingDefault=false
#---------------------------------------------------- #----------------------------------------------------
# This URL is where the BBB client is accessible. When a user sucessfully # This URL is where the BBB client is accessible. When a user sucessfully
# enters a name and password, she is redirected here to load the client. # enters a name and password, she is redirected here to load the client.
bigbluebutton.web.serverURL=http://10.0.3.100 bigbluebutton.web.serverURL=http://192.168.181.131
#---------------------------------------------------- #----------------------------------------------------
@ -136,7 +136,7 @@ defaultConfigURL=${bigbluebutton.web.serverURL}/client/conf/config.xml
apiVersion=0.81 apiVersion=0.81
# Salt which is used by 3rd-party apps to authenticate api calls # Salt which is used by 3rd-party apps to authenticate api calls
securitySalt=c40fb828a670251f5bcb79b462e1333c securitySalt=33e06642a13942004fd83b3ba6e4104a
# Directory where we drop the <meeting-id-recorded>.done file # Directory where we drop the <meeting-id-recorded>.done file
recordStatusDir=/var/bigbluebutton/recording/status/recorded recordStatusDir=/var/bigbluebutton/recording/status/recorded