Author: sebawagner
Date: Sun Feb 5 13:18:01 2012
New Revision: 1240720
URL: http://svn.apache.org/viewvc?rev=1240720&view=rev
Log:
OPENMEETINGS-44 remove all old audio/video components Delete all references to
editRecordStream.lzx in SWF8 client and fix to load the device settings
directly through commonVideoComponentAdapter
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/openmeetings/swf10/video/editRecordStreamSWF10.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/eventuserlist/moderationMiniIcons.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/interviewuserlist/interviewVideoBox.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participantListItem.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/popups/loginScreen.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/restricted/moderationMiniIconRestricted.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/baseVideoObject.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/library.lzx
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/baseDrawSave.lzx
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/openmeetings/swf10/video/editRecordStreamSWF10.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/openmeetings/swf10/video/editRecordStreamSWF10.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/openmeetings/swf10/video/editRecordStreamSWF10.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/openmeetings/swf10/video/editRecordStreamSWF10.lzx
Sun Feb 5 13:18:01 2012
@@ -36,6 +36,9 @@
<attribute name="remoteMessage" value="null" />
+ <!---
+ if true the user will see the dialog no matter if he has choosen "do
not show again" or not
+ -->
<attribute name="isSyncUpdate" value="false" type="boolean" />
<attribute name="doDefaultAnimation" value="true" type="boolean" />
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/base/hibernate/hibRtmpConnection.lzx
Sun Feb 5 13:18:01 2012
@@ -976,8 +976,8 @@
if (canvas.ismoderator){
if (this.parent.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 3");
- new
lz.editRecordStream(canvas.main_content._content.inner);
+ if ($debug) Debug.write("##############
showDevicePopUp 3");
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
}
} else if (value==null){
//I think we never can run into this! value is always
!= null, this is from a previous implementation
@@ -985,25 +985,17 @@
//no moderator availible
//check if this is conferenceViewmodus
if (this.parent.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 4");
- new
lz.editRecordStream(canvas.main_content._content.inner);
+ if ($debug) Debug.write("##############
showDevicePopUp 4");
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
} else {
// in audienceView modus you get no notification
// cause you are not able to register your stream
// as non moderator
-
- //FIXME: If there is no Moderator at this point
there
- //should be a message to apply for it
- //if (!canvas._videocontainer.modLoaded){
- // if ($debug) Debug.write("##############
editRecordStream 5");
- // messageAlreadyThrown = true;
- // new
lz.errorModeratorPopup(canvas,{error:canvas.getLabelName(498)});
- //}
}
} else {
if (this.parent.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 1a");
- new
lz.editRecordStream(canvas.main_content._content.inner);
+ if ($debug) Debug.write("##############
showDevicePopUp 1a");
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
}
}
canvas._drawarea.onopenWhiteBoard.sendEvent();
@@ -1028,56 +1020,6 @@
</handler>
</netRemoteCallHib>
- <!--
- <netRemoteCallHib name="getCurrentModerator"
funcname="getCurrentModerator">
- <handler name="ondata" args="value">
- <![CDATA[
- //The onResult-Handler will be called be the rtmpconnection
- if ($debug) Debug.write("############ getCurrentModerator:
",value);
- if (value!=null){
- canvas.setAttribute('moderatorationObject',value);
-
canvas.setAttribute('moderatorStreamID',value.streamid);
- canvas.setAttribute('moderatorName',value.firstname+'
'+value.lastname);
- } else {
- canvas.setAttribute('moderatorationObject',null);
- canvas.setAttribute('moderatorStreamID',"");
- canvas.setAttribute('moderatorName',"");
-
- new lz.labelerrorPopup(canvas,{errorlabelid:641});
- }
-
- if ($debug) Debug.write("throw event to drawarea:
",canvas.moderatorStreamID,canvas.ismoderator);
- if (canvas.ismoderator){
- if ($debug) Debug.write("##############
editRecordStream 3");
- new
lz.editRecordStream(canvas.main_content._content.inner);
- } else if (value==null){
- if ($debug) Debug.write("############ value IS NULL:
",this.parent.modus);
- //no moderator availible
- //check if this is conferenceViewmodus
- if (this.parent.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 4");
- new
lz.editRecordStream(canvas.main_content._content.inner);
- } else {
- // in audienceView modus you get no notification
- // cause you are not able to register your stream
- // as non moderator
- if (!canvas._videocontainer.modLoaded){
- if ($debug) Debug.write("##############
editRecordStream 5");
- new
lz.errorModeratorPopup(canvas,{error:canvas.getLabelName(498)});
- }
- }
- } else {
- if (this.parent.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 1a");
- new
lz.editRecordStream(canvas.main_content._content.inner);
- }
- }
- canvas._drawarea.onopenWhiteBoard.sendEvent();
- ]]>
- </handler>
- </netRemoteCallHib>
- -->
-
<netRemoteCallHib name="newStream" funcname="newStream">
<handler name="ondata" args="value">
//The onResult-Handler will be called be the rtmpconnection
@@ -1335,7 +1277,7 @@
if (canvas.thishib.modus == "interview") {
canvas._drawarea.newInterviewStarting(value);
} else {
- new
lz.editRecordStream(canvas.main_content._content.inner);
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
}
canvas.setAttribute("isBroadCasting",true);
@@ -1539,48 +1481,6 @@
</handler>
</netRemoteCallHib>
- <!--
- @deprecated It is not used anymore
-
- <netRemoteCallHib name="setModerator" funcname="setModerator">
- <netparam name="vars"><method name="getValue">return
canvas.streamid;</method></netparam>
- <handler name="ondata" args="value">
- <![CDATA[
- //The onResult-Handler will be called be the rtmpconnection
- //Debug.write(" onResult setModerator : ",value);
- ]]>
- </handler>
- </netRemoteCallHib>
- -->
-
- <!--
- @deprecated It is not used anymore
-
- <netRemoteCallHib name="setNewModerator" funcname="setNewModerator">
- <netparam name="vars"><method name="getValue">return
canvas.streamid;</method></netparam>
- <handler name="ondata" args="value">
- <![CDATA[
- //The onResult-Handler will be called be the rtmpconnection
- //Debug.write("setNewModerator : ",value,value.firstname+'
'+value.lastname);
- canvas.setAttribute('moderatorationObject',value);
- canvas.setAttribute('moderatorStreamID',value.streamid);
- canvas.setAttribute('moderatorName',value.firstname+'
'+value.lastname);
- //in audienceView Modus this requires that the new user
will be
- //streamed
- if (parent.modus == "audience"){
- canvas._videocontainer.clearAllVideoRefernces();
- if (canvas.ismoderator){
- if ($debug) Debug.write("##############
editRecordStream 5 setNewModerator ");
- new
lz.editRecordStream(canvas.main_content._content.inner);
- } else {
-
//Debug.warn("canvas._videocontainer.getClientListScope.doCall");
- }
- }
- ]]>
- </handler>
- </netRemoteCallHib>
- -->
-
<netRemoteCallHib name="setNewModeratorByList"
funcname="setNewModeratorByList">
<handler name="ondata" args="value">
<![CDATA[
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
Sun Feb 5 13:18:01 2012
@@ -10,22 +10,35 @@
};
</handler>
+ <!---
+ Show the popup with the possibility to choose the device settings
+ @param isSyncUpdate show the popup also if the user has clicked the "do
not show again" chceckbox
+ @param isInterview
+ -->
+ <method name="showDevicePopUp" args="isSyncUpdate,isInterview">
+ canvas.lc.send(canvas.vid_lc_name, "createEditRecordStream",
isSyncUpdate, isInterview);
+ </method>
+
+ <!---
+ Invoked after the user enters the room to connect the SWF10 app to the
server via rtmp(t/s)
+ -->
<method name="reconnectSuccess">
canvas.lc.send(canvas.rtmp_lc_name, "reconnectSuccess",
canvas.thishib.src, canvas.publicSID);
</method>
+
<handler name="onismoderator" reference="canvas" args="m">
canvas.lc.send(canvas.vid_lc_name, "ismoderatorChanged", m);
</handler>
- <!--
+ <!---
set size of video objects
-->
<method name="initVideoContainer"
args="offsetLength,videoWidth,videoHeight">
canvas.lc.send(canvas.vid_lc_name, "initVideoContainer",
canvas.publicSID,canvas.firstName,canvas.lastName,offsetLength,videoWidth,videoHeight);
</method>
- <!--
+ <!---
Creates video object
-->
<method name="createVideo"
args="publicSID,displayName,broadcastId,avsettings,interviewPodId,object">
@@ -36,7 +49,7 @@
canvas.lc.send(canvas.vid_lc_name, "createVideoObject", publicSID,
isBroadcasting, interviewPodId,object);
</method>
- <!--
+ <!---
invoked whenever a User starts to Stream Video in this Room,
interviewPodId has only a meaning in the Room Type Interview
-->
@@ -74,7 +87,8 @@
canvas.lc.send(canvas.vid_lc_name, "resetAllValues");
</method>
- <!-- invoked if another client logs into the room
+ <!---
+ invoked if another client logs into the room
after choosing devices -->
<method name="setAVSettingsToClient" args="rcl">
canvas.lc.send(canvas.vid_lc_name, "setAVSettingsToClient", rcl);
@@ -98,13 +112,13 @@
canvas.lc.send(canvas.vid_lc_name, "muteSound", publicSID);
</method>
- <!--
+ <!---
Updates microphone's state of roomClient
-->
<method name="updateMuteStatusVideoView" args="roomClient">
canvas.lc.send(canvas.vid_lc_name, "updateMuteStatusVideoView",
roomClient);
</method>
-
+
</class>
</library>
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/eventuserlist/moderationMiniIcons.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/eventuserlist/moderationMiniIcons.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/eventuserlist/moderationMiniIcons.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/eventuserlist/moderationMiniIcons.lzx
Sun Feb 5 13:18:01 2012
@@ -272,10 +272,6 @@
resource="av_allow_rsc" showhandcursor="true">
<handler name="onclick">
if ($debug) Debug.write("ALLOW: ",parent.parent.refObj.publicSID);
- //var myvideocontainer =
canvas._videocontainer.getNewVideoObject(parent.parent.refObj.publicSID);
- //myvideocontainer.resetValues();
- //new
lz.editRecordStream(canvas.main_content._content.inner,{isSyncUpdate:true});
-
canvas.thishib.setBroadCastingFlag.publicSIDOfNewModerator =
parent.parent.refObj.publicSID;
canvas.thishib.setBroadCastingFlag.isAllowedToBroadCastAV = true;
canvas.thishib.setBroadCastingFlag.doCall();
@@ -287,9 +283,6 @@
resource="av_allow_rsc" showhandcursor="true">
<handler name="onclick">
if ($debug) Debug.write("ALLOW: ",parent.parent.refObj.publicSID);
- //var myvideocontainer =
canvas._videocontainer.getNewVideoObject(parent.parent.refObj.publicSID);
- //myvideocontainer.resetValues();
- //new
lz.editRecordStream(canvas.main_content._content.inner,{isSyncUpdate:true});
canvas.thishib.setBroadCastingFlag.publicSIDOfNewModerator =
parent.parent.refObj.publicSID;
canvas.thishib.setBroadCastingFlag.isAllowedToBroadCastAV = false;
canvas.thishib.setBroadCastingFlag.doCall();
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/interviewuserlist/interviewVideoBox.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/interviewuserlist/interviewVideoBox.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/interviewuserlist/interviewVideoBox.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/interviewuserlist/interviewVideoBox.lzx
Sun Feb 5 13:18:01 2012
@@ -91,7 +91,7 @@
t._videoPlay.setAttribute("visibility","visible");
t._videoPlay.setAttribute("publicSID", canvas.publicSID);
};
- new lz.editRecordStream(this,{isInterview:true});
+ canvas._videocontainer._videoviewcontent.showDevicePopUp(false,true);
</method>
<method name="sendConfirmation" args="publicSID">
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participantListItem.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participantListItem.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participantListItem.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participantListItem.lzx
Sun Feb 5 13:18:01 2012
@@ -617,7 +617,7 @@
if ($debug) Debug.write("parent.parent.refObj.publicSID:
",parent.parent.refObj.publicSID);
var myvideocontainer =
canvas._videocontainer.getNewVideoObject(parent.parent.refObj.publicSID);
// myvideocontainer.resetValues();
- new
lz.editRecordStream(canvas.main_content._content.inner,{isSyncUpdate:true});
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(true,false);
</handler>
<labelTooltip labelid="610" />
</miniIcons>
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/popups/loginScreen.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/popups/loginScreen.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/popups/loginScreen.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/popups/loginScreen.lzx
Sun Feb 5 13:18:01 2012
@@ -102,8 +102,9 @@ There is no login any more
this.parent.parent.close();
canvas._hideit.setAttribute('visible',false);
canvas._videocontainer.initializeStreams();
- if(!canvas.isConference)
- new lz.editRecordStream(canvas);
+ if(!canvas.isConference) {
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
+ }
</handler>
</simpleLabelButton>
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/restricted/moderationMiniIconRestricted.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/restricted/moderationMiniIconRestricted.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/restricted/moderationMiniIconRestricted.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/restricted/moderationMiniIconRestricted.lzx
Sun Feb 5 13:18:01 2012
@@ -280,8 +280,6 @@
if ($debug) Debug.write("ALLOW:
",parent.parent.parent.refObj.publicSID);
//var myvideocontainer =
canvas._videocontainer.getNewVideoObject(parent.parent.refObj.publicSID);
//myvideocontainer.resetValues();
- //new
lz.editRecordStream(canvas.main_content._content.inner,{isSyncUpdate:true});
-
canvas.thishib.setBroadCastingFlag.publicSIDOfNewModerator =
parent.parent.parent.refObj.publicSID;
canvas.thishib.setBroadCastingFlag.isAllowedToBroadCastAV = true;
canvas.thishib.setBroadCastingFlag.doCall();
@@ -294,7 +292,6 @@
if ($debug) Debug.write("ALLOW:
",parent.parent.parent.refObj.publicSID);
//var myvideocontainer =
canvas._videocontainer.getNewVideoObject(parent.parent.refObj.publicSID);
//myvideocontainer.resetValues();
- //new
lz.editRecordStream(canvas.main_content._content.inner,{isSyncUpdate:true});
canvas.thishib.setBroadCastingFlag.publicSIDOfNewModerator =
parent.parent.parent.refObj.publicSID;
canvas.thishib.setBroadCastingFlag.isAllowedToBroadCastAV = false;
canvas.thishib.setBroadCastingFlag.doCall();
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/baseVideoObject.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/baseVideoObject.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/baseVideoObject.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/baseVideoObject.lzx
Sun Feb 5 13:18:01 2012
@@ -457,17 +457,11 @@
<handler name="onclick">
parent.parent.resetValues();
if(!this.parent.parent.isremote) {
- if ($debug) Debug.write("editRecordStream
################# baseVideObject ");
+ if ($debug) Debug.write("showDevicePopUp #################
baseVideObject ");
if (this.parent.parent.isInterview) {
- new lz.editRecordStream(parent.parent.parent,{
- doDefaultAnimation:false,
- align:'center',valign:'middle',
- isInterview:true,
- myvideocontainer:parent.parent,
- isSyncUpdate:true});
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(true,true);
} else {
- new
lz.editRecordStream(canvas.main_content._content.inner,{
- isSyncUpdate:true});
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(true,false);
}
}
</handler>
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/library.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/library.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/library.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/video/library.lzx
Sun Feb 5 13:18:01 2012
@@ -44,9 +44,8 @@
<resource name="lz_recorder_play" src="resources/webstart_play.png" />
- <include href="editRecordStream.lzx" />
-
<!--
+ <include href="editRecordStream.lzx" />
<include href="videoUserProfilePic.lzx" />
<include href="remoteUserDetails.lzx" />
Modified:
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/baseDrawSave.lzx
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/baseDrawSave.lzx?rev=1240720&r1=1240719&r2=1240720&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/baseDrawSave.lzx
(original)
+++
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/whiteboard/base/baseDrawSave.lzx
Sun Feb 5 13:18:01 2012
@@ -262,8 +262,8 @@
} else if (isInitLoader){
//check if this is conferenceView or audienceView modus
if (canvas.thishib.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 1 xyz");
- new
lz.editRecordStream(canvas.main_content._content.inner);
+ if ($debug) Debug.write("##############
showDevicePopUp 1 xyz");
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
} else if(canvas.thishib.modus == "audience"){
//check in audince modus if this user is the
current moderator
//this users cannot be the moderator cause he
has downloaded
@@ -504,8 +504,8 @@
if (this.isInitLoader){
//check if this is conferenceView or audienceView modus
if (canvas.thishib.modus == "conference"){
- if ($debug) Debug.write("##############
editRecordStream 2 xyz");
- new
lz.editRecordStream(canvas.main_content._content.inner);
+ if ($debug) Debug.write("##############
showDevicePopUp 2 xyz");
+
canvas._videocontainer._videoviewcontent.showDevicePopUp(false,false);
} else if(canvas.thishib.modus == "audience"){
//check in audince modus if this user is the
current moderator
//this users cannot be the moderator cause he
has downloaded