Author: sebawagner
Date: Thu May 17 14:19:05 2012
New Revision: 1339612

URL: http://svn.apache.org/viewvc?rev=1339612&view=rev
Log:
OPENMEETINGS-275 "User Speaks" icon in Users list does not indicate when the 
person is speaking 
OPENMEETINGS-275 "User Speaks" icon in Users list does not indicate when the 
person is speaking 

Modified:
    
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
    
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participants.lzx
    
incubator/openmeetings/trunk/singlewebapp/WebContent/swf10/commonVideoViewContentSWF10.lzx

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=1339612&r1=1339611&r2=1339612&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/commonVideoComponentAdapter.lzx
 Thu May 17 14:19:05 2012
@@ -81,7 +81,7 @@
         @param boolean bool show light on/off
     -->
     <method name="setSpeakingByPos" args="publicSID,bool">
-        canvas.sendViaLocalConnection(canvas.vid_lc_name, "setSpeakingByPos", 
[publicSID, bool, canvas.getSpeakingPosIndicator()]);
+        canvas.sendViaLocalConnection(canvas.vid_lc_name, "setSpeakingByPos", 
[publicSID, bool]);
     </method>
 
     <!---

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participants.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participants.lzx?rev=1339612&r1=1339611&r2=1339612&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participants.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/src/modules/conference/participants/participants.lzx
 Thu May 17 14:19:05 2012
@@ -222,6 +222,14 @@
     </method>
 
     <method name="setSpeakingByPos" args="publicSID,bool">
+       var tObj = this._participants.getVideoObjectByPublicSID(publicSID);
+       if (tObj != null) {
+               if (bool){
+                   
tObj._miniIcons._loudness.loudness.setAttribute('opacity',1);
+               } else {
+                   
tObj._miniIcons._loudness.loudness.setAttribute('opacity',0.2);
+               }
+        }
         this._videoviewcontent.setSpeakingByPos(publicSID, bool);
     </method>
 

Modified: 
incubator/openmeetings/trunk/singlewebapp/WebContent/swf10/commonVideoViewContentSWF10.lzx
URL: 
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/WebContent/swf10/commonVideoViewContentSWF10.lzx?rev=1339612&r1=1339611&r2=1339612&view=diff
==============================================================================
--- 
incubator/openmeetings/trunk/singlewebapp/WebContent/swf10/commonVideoViewContentSWF10.lzx
 (original)
+++ 
incubator/openmeetings/trunk/singlewebapp/WebContent/swf10/commonVideoViewContentSWF10.lzx
 Thu May 17 14:19:05 2012
@@ -353,9 +353,9 @@
     </method>
 
 
-    <method name="setSpeakingByPos" args="publicSID,bool,tControl">
+    <method name="setSpeakingByPos" args="publicSID,bool">
         <![CDATA[
-            if ($debug) Debug.write("setSpeakingByPos 
",publicSID,bool,tControl);
+            if ($debug) Debug.write("setSpeakingByPos ",publicSID,bool);
             var obj = this.getVideoObjectByPublicSID(publicSID);
             if (obj == null) {
                if ($debug) Debug.warn("Could not find user for 
setSpeakingByPos ",publicSID,bool);


Reply via email to