this.status.setAttribute("text", this.statusText);
this.status.setAttribute("fgcolor", this.statusColor);
this.setAttribute("visibility", "visible");
lz.Timer.addTimer( new LzDelegate( this, "selfDestroy" ), 3000 );
this.destroy();
if (canvas.useSSL) {
return "rtmps";
}
if (this.useRTMPT) {
return "rtmpt";
}
return "rtmp";
if (canvas.useSSL) {
return canvas.rtmpsslport;
}
if (this.useRTMPT) {
return canvas.red5httpport;
}
return canvas.rtmpport;
return canvas.rtmphostlocal;
return canvas.webAppRootKey;
return this.getProtocol() + '://' + this.getHost() + ':' + this.getPort()
+ '/' + this.getWebappRootKey() + '/' + this.userScope;
if($debug) Debug.write("hibRtmpConnection/onconnect");
if (this.reconnectionAction){
if (canvas.wicketsid == null) {
this.overwritePublicSID.doCall();
this.setUsernameReconnect.doCall();
} else {
canvas.sessionId = canvas.wicketsid;
canvas.sendViaLocalConnection(canvas.vid_lc_name, "setSessionId", [canvas.sessionId]);
this.getPublicSID.doCall();
}
} else if (this.reconnectAfterRoomleft) {
//Return to content after reconnect
canvas.thishib.reconnectedRoomInstance.destroy();
this.overwritePublicSID.doCall();
this.setUsernameReconnect.doCall();
} else if (canvas.wicketsid != null) {
canvas.sessionId = canvas.wicketsid;
canvas.sendViaLocalConnection(canvas.vid_lc_name, "setSessionId", [canvas.sessionId]);
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
this.getPublicSID.doCall();
} else {
this.refreshDelegate = new LzDelegate( this, "refreshSessionMeth" );
//lz.Timer.addTimer( this.refreshDelegate, 60000 );
lz.Timer.addTimer( this.refreshDelegate, canvas.refreshSession );
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
//Load Session Data
this.getsessiondata.callRPC();
}
connected = true;
canvas.sendViaLocalConnection(canvas.rtmp_lc_name, "disconnect", [canvas.thishib.src]);
connected = false;
if (this.reconnectionAction){
this.reconnectionAction = false;
this.reconnectObjRef.reconnectSuccess();
} else if (this.reconnectAfterRoomleft) {
loadContentByTempActionForNavi();
}
canvas.currentContentView.sendInit.sendEvent(this);
this.refreshSession.doCall();
return canvas.sessionId;
//if ($debug) Debug.write("hibRtmpConnection/refreshSession [",value,"]");
lz.Timer.addTimer( parent.refreshDelegate, canvas.refreshSession );
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("hibRtmpConnection/getsessiondata [",value,"]");
canvas.sessionObject = value;
canvas.sessionId = value.session_id;
canvas.sendViaLocalConnection(canvas.vid_lc_name, "setSessionId", [canvas.sessionId]);
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
parent.getPublicSID.doCall();
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("hibRtmpConnection/getPublicSID [",value,"]");
canvas.publicSID = value;
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
parent.getLanguages.doCall();
return canvas.publicSID;
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("overwritePublicSID: ",value);
//The onResult-Handler will be called be the rtmpconnection
//if ($debug) Debug.write("getLanguages: ",value, languagesSet);
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
parent.getDefaultLanguage.doCall();
1) {
var lngCode = browserLang.substring(0, 2);
//openlaszlo XPath is able to search nothing, so will iterate
var xpath = "languagesSet:/item";
var list = languagesSet.getPointer().xpathQuery(xpath);
var partMatch = -1, fullMatch = -1;
for (var i = 1; list != null && i <= list.length; ++i) {
xpath = "languagesSet:/item[" + i + "]/code/text()";
var val = languagesSet.getPointer().xpathQuery(xpath);
if (val != null && val.length > 1) {
var partCode = ("" + val).substring(0, 2);
if (browserLang == val) {
fullMatch = i;
} else if (lngCode == val) {
partMatch = i;
} else if (partCode == lngCode) {
partMatch = i;
}
}
}
if (partMatch != -1 || fullMatch != -1) {
i = (fullMatch != -1) ? fullMatch : partMatch;
xpath = "languagesSet:/item[" + i + "]/language_id/text()";
lang_id = languagesSet.getPointer().xpathQuery(xpath);
}
}
if (canvas.language_id == 0) {
userlang = lang_id;
} else {
userlang = canvas.language_id;
}
}
]]>
return canvas.sessionId;
return canvas.sessionId;
return canvas.user_id;
return canvas.currentuser;
return canvas.firstName;
return canvas.lastName;
return canvas.picture_uri;
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("setUsernameReconnect: ",canvas.user_id,value);
parent.reconnectComplete();
//The onResult-Handler will be called be the rtmpconnection
canvas.default_lang_id = value;
if ($debug) Debug.write("getDefaultLanguage: ",value,"; canvas.lang = ", canvas.language_id);
if (canvas.language_id==0){
parent.userlang = canvas.default_lang_id;
} else {
parent.userlang = canvas.language_id;
}
parent.getLanguageByIdAndMax.doCall();
return canvas.invitationHash;
-
"+ value.validTo;
var dlg = new lz.rpcErrorDialog(canvas,{errorid:-50,addInfo:addInfo});
}
}
]]>
return canvas.sessionId;
return canvas.secureHash;
return canvas.remoteUserSid;
return canvas.sessionId;
0) {
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.close();
}
//parent.getRoomById.doCall();
var obj = new Array();
obj["action"] = "recordModule";
loadContent(obj,null,null);
} else if (canvas.wicketroomid > 0) {
canvas.initroomid = canvas.wicketroomid;
parent.getRoomTypes.doCall();
parent.getRoomById.doCall();
} else {
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.close();
}
parent.getRoomById.doCall();
}
}
]]>
return canvas.sessionId;
return canvas.initroomid;
return parent.parent.userlang;
return parent.start;
return parent.step;
return canvas.sessionId;
//The onResult-Handler will be called be the rtmpconnection
if (value == null) {
new lz.errorPopup(canvas,{error:"Missing User Object, set the Configuration value of the key 'default.rpc.userid' to a valid user Id that has at least one Organization assigned in the OpenMeetings Administrion Configuration Panel "});
}
if ($debug) Debug.write("markSessionAsLogedIn1 ",value);
hib.userobject = value;
canvas.user_id = hib.userobject.user_id;
if (value.organisation_users.length > 0){
hib.currentdomain = value.organisation_users[0].organisation.name;
hib.currentdomainObj = value.organisation_users[0].organisation;
} else if (!canvas.isRemoteUser()) {
new lz.errorPopup(canvas,{error:"Missing Organization in User Object, set the Configuration value of the key 'default.rpc.userid' to a valid user Id that has at least one Organization assigned in the OpenMeetings Administrion Configuration Panel "});
}
if ($debug) Debug.write("markSessionAsLogedIn2 ",canvas.sessionId);
if ($debug) Debug.write("markSessionAsLogedIn3 ",canvas.initroomid);
if ($debug) Debug.write("markSessionAsLogedIn4 ",canvas.isinitRoomDirect);
if ($debug) Debug.write("markSessionAsLogedIn5 ",canvas.remoteUserLogin);
if ($debug) Debug.write("markSessionAsLogedIn6 ",canvas.directUserLogin);
if ($debug) Debug.write("markSessionAsLogedIn7 ",canvas.directRoomId);
if ($debug) Debug.write("markSessionAsLogedIn8 ",canvas.secureRemoteUserLogin);
if (canvas.secureRemoteUserLogin) {
if ($debug) Debug.write("markSessionAsLogedIn == CALL ",canvas.secureHash);
parent.secureLoginByRemote.doCall();
} else if (canvas.isinitRoomDirect){
parent.getInvitationByHash.doCall();
} else if (canvas.remoteUserLogin) {
parent.loginUserByRemote.doCall();
} else if (canvas.directUserLogin) {
//show Nick Name or Password Protection Dialog
canvas.initroomid = Number(canvas.directRoomId);
parent.getRoomById.doCall();
}
0 && value[0] != null) {
//if ($debug) Debug.write("Give exclusive audio keycode is: ", value[0].conf_value);
canvas.setAttribute('GIVE_EXCLUSIVE_AUDIO_KEY', value[0].conf_value);
}
if (value.length > 1 && value[1] != null) {
if ($debug) Debug.write("red5sip.enable is: ", value[1].conf_value);
canvas.setAttribute('RED5_SIP_ENABLE', value[1].conf_value);
}
if (value.length > 2 && value[2] != null) {
if ($debug) Debug.write("max_upload_size is: ", value[2].conf_value);
canvas.setAttribute('MAX_UPLOAD_SIZE', value[2].conf_value);
}
if (value.length > 3 && value[3] != null) {
if ($debug) Debug.write("Mute/unmute keycode is: ", value[3].conf_value);
canvas.setAttribute('MUTE_AUDIO_KEY', value[3].conf_value);
}
if (value.length > 4 && value[4] != null) {
if ($debug) Debug.write("redirect.url.for.external.users is: ", value[4].conf_value);
canvas.setAttribute('REDIRECT_URL_FOR_EXTERNAL_USERS', value[4].conf_value);
}
} else {
if ($debug) Debug.warn("xmlcrm.getGeneralOptions empty!");
}
parent.getUserSalutations.doCall();
]]>
return canvas.sessionId;
return hib.currentdomainObj.organisation_id;
//Sessionmanagement.getInstance()
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("setCurrentUserOrganization: ",value);
return canvas.sessionId;
return parent.parent.userlang;
//The onResult-Handler will be called be the rtmpconnection
//Debug.write("getUserSalutations ",value);
canvas.salutationsInitValues = value;
//check for password reset
if (canvas.wicketsid != null) {
parent.loginWicket.doCall();
} else {
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.close();
}
//do not show loggin-PopUp for the test-Application
if (parent.testAppLoading){
canvas.loadNextStepTestApp();
} else {
if (canvas.isRemoteUser()){
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
if($debug) Debug.write("isinitRoomDirect or remoteUserLogin is true");
parent.markSessionAsLogedIn.doCall();
}
}
}
return canvas.sessionId;
return canvas.wicketsid;
return canvas.wicketroomid;
canvas.becomemoderator", canvas.becomemoderator);
if (value.sessionData == null) {
if ($debug) Debug.write("No Language Found to assign");
return;
}
hib.userobject = value;
var found = false;
for (var i = 0; i < value.organisation_users.length; ++i) {
if (value.organisation_users[i].organisation.organisation_id == value.sessionData.organization_id) {
found = true;
hib.currentdomain = value.organisation_users[i].organisation.name;
hib.currentdomainObj = value.organisation_users[i].organisation;
break;
}
}
if (!found && value.organisation_users.length > 0) {
hib.currentdomain = value.organisation_users[0].organisation.name;
hib.currentdomainObj = value.organisation_users[0].organisation;
}
parent.getCurrentRoomClient.doCall();
} else {
new lz.labelerrorPopup(canvas, {errorlabelid: 1599});
}
]]>
return canvas.sessionId;
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("getRoomTypes ", value);
canvas.roomTypesInitValues = value;
canvas.sendViaLocalConnection(canvas.rtmp_lc_name, "getRoomTypes", [value]);
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.setProgress();
}
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("################ setId: ",value);
canvas.setAttribute('streamid',value);
return canvas.sessionId;
return canvas.user_id;
return canvas.currentuser;
return canvas.firstName;
return canvas.lastName;
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("setUsernameAndSession: ",canvas.user_id,value);
if (canvas.thishib.loaderVar != null) {
canvas.thishib.loaderVar.close();
}
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("testMethod ",value);
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("addNewUser: ",value);
if(value.sipTransport) {
canvas._videocontainer.addItem(value.connectedSince,value.isMod,value.streamid,value.room_id,'',value.formatedDate,value.userpos,value.usercolor,value);
} else {
canvas._videocontainer.addClientItem(value.connectedSince,value.isMod,value.streamid,value.room_id,'',value.formatedDate,value.userpos,value.usercolor,value);
}
canvas.setAttribute('numberofpartners',canvas.numberofpartners+1);
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("newStream: ",value);
if (value == null || value.isScreenClient) {
return;
}
canvas._videocontainer.startStream(value.publicSID,value.broadCastID,value.firstname,value.lastname,value.interviewPodId,value.VWidth,value.VHeight);
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("**** closeStream: ",value);
if (value == null) {
return;
}
if (value.isScreenClient) {
if ($debug) Debug.write(" ondata closeStream: ",value.streamPublishName);
canvas.currentBaseConferenceRoom._screenSharingAdapter.closeScreenSharing(value);
} else {
//free the VideoContainer
//canvas._videocontainer.closeStreamClient(value.publicSID);
canvas.sendViaLocalConnection(canvas.vid_lc_name, "closeStreamClient", [value.publicSID]);
canvas.setAttribute('numberofpartners',canvas.numberofpartners-1);
}
//TODO:check first current tab
//The onResult-Handler will be called be the rtmpconnection
if ($debug) Debug.write("**** closeStream: ",value);
if ($debug) Debug.write(" onResult stopScreenSharingMessage : ",value.streamPublishName);
canvas.currentBaseConferenceRoom._screenSharingAdapter.closeScreenSharing(value);
if ($debug) Debug.write("**** clientregisterRoom::ondata ", value);
if (canvas._videocontainer!=null){
canvas._videocontainer.disconnectclient(id);
if (canvas.currentModApply!=null) canvas.currentModApply.rejectUser(value);
if (value.isRecording) {
canvas._mymod.recordingUser = null;
}
if (value.streamPublishStarted) {
canvas._mymod.publishingObj = null;
}
canvas._mymod.setMessage();
}
//The onResult-Handler will be called be the rtmpconnection
canvas._mymod.recordingUser = null;
canvas._mymod.setMessage();
//The onResult-Handler will be called be the rtmpconnection
canvas._mymod.publishingObj = null;
canvas._mymod.setMessage();
if ($debug) Debug.write("setSyncFlag: ",value);
if ($debug) Debug.write("logicalRoomLeaveDis: ",value);
parent.roomDisconnectUser(value, value.broadCastID);
return parent.publicSIDOfNewModerator;
return parent.publicSIDOfNewModerator;
return parent.publicSIDOfNewModerator;
return parent.isAllowedToBroadCastAV;
return parent.canVideo;
return parent.interviewPodId;
return null;
return parent.publicSID;
this.publicSID = tPublicSID;
this.doCall();
return null;
this.publicSID = tPublicSID;
this.mute = tMute;
var obj = new Array();
obj["mute"] = tMute;
obj["publicSID"] = tPublicSID;
this.onMute.sendEvent(obj);
this.doCall();
return parent.publicSID;
return parent.mute;
return null;
return null;
return canvas.publicSID;
return canvas.sessionId;
return parent.publicSID;
return parent.canDraw;
return canvas.sessionId;
return parent.publicSID;
return parent.canShare;
return canvas.sessionId;
return parent.publicSID;
return parent.canRemote;
return canvas.objMessage;
return canvas.objMessage;
return canvas.VarsModeratorGeneral;
return parent.messageObj;
this.messageObj = messageObject;
this.doCall();
this.messageObj = new Object();
this.messageObj[0] = typeName;
this.messageObj[1] = messageObject;
this.doCall();
this.messageObj = new Object();
this.messageObj[0] = typeName;
this.messageObj[1] = messageObject;
this.messageObj[2] = tStamp;
this.doCall();
return parent.messageObj;
//The onResult-Handler will be called be the rtmpconnection
//Debug.write("sendMessageWithClient : ",value);
return parent.parent.applymessage;
//The onResult-Handler will be called be the rtmpconnection
//if ($debug) Debug.write("newMessageByRoomAndDomain: ",value);
if ($debug) Debug.write("stopedRecording: ",value);
canvas._mymod.recordingUser = null;
canvas._mymod.setMessage();
if ($debug) Debug.write("startedRecording: ",value);
canvas._mymod.recordingUser = value;
canvas._mymod.setMessage();
if ($debug) Debug.write("checkLzRecording: ",value);
if (value != null) {
canvas._mymod.recordingUser = value;
canvas._mymod.setMessage();
}
parent.checkScreenSharing.doCall();
if ($debug) Debug.write("startedPublishing: ", value);
canvas._mymod.publishingObj = {user: value[0], url: value[1]};
canvas._mymod.setMessage();
if ($debug) Debug.write("roomConnect: ",value);
canvas._videocontainer.addItem(value.connectedSince,value.isMod,value.streamid,value.username,
'',value.formatedDate,value.userpos,value.usercolor,value);
if ($debug) Debug.write("nickNameSet: ", value);
canvas.setAttribute('mail', value.email);
canvas.setAttribute('firstName', value.firstname);
canvas.setAttribute('lastName', value.lastname);
var vo = canvas._videocontainer._participants.getUserListItemByPublicSID(value.publicSID);
if (vo != null) {
vo.update(value);
}
return canvas.sessionId;
return parent.room_id;
return parent.isClosed;
this.publicSID = publicSID;
this.canGiveAudio = giveAudio;
this.doCall();
return canvas.sessionId;
return parent.publicSID;
return parent.canGiveAudio;