Revision: 4532
Author: [email protected]
Date: Wed Nov 9 21:52:01 2011
Log: Fixed microphone muting/unmuting for the interview room
http://code.google.com/p/openmeetings/source/detail?r=4532
Modified:
/branches/video-component/WebContent/openmeetings/modules/conference/interviewuserlist/interviewUserList.lzx
/branches/video-component/WebContent/openmeetings/modules/conference/video/baseVideoObject.lzx
/branches/video-component/WebContent/openmeetings/modules/conference/video/videoObjectPlayBroadcast.lzx
=======================================
---
/branches/video-component/WebContent/openmeetings/modules/conference/interviewuserlist/interviewUserList.lzx
Tue Nov 8 23:12:38 2011
+++
/branches/video-component/WebContent/openmeetings/modules/conference/interviewuserlist/interviewUserList.lzx
Wed Nov 9 21:52:01 2011
@@ -306,10 +306,10 @@
<method name="updateMuteStatusVideoView" args="roomClient">
<![CDATA[
+ this._videoviewcontent.updateMuteStatusVideoView(roomClient);
var videoContainer = canvas._drawarea._videoviewcontent;
for (var i=0;i<videoContainer.subviews.length;i++){
videoContainer.subviews[i]._videoPlay.muteMicrophone(roomClient);
-
videoContainer.subviews[i]._videoBroadCast.muteMicrophone(roomClient);
}
]]>
</method>
=======================================
---
/branches/video-component/WebContent/openmeetings/modules/conference/video/baseVideoObject.lzx
Sun Oct 23 02:39:44 2011
+++
/branches/video-component/WebContent/openmeetings/modules/conference/video/baseVideoObject.lzx
Wed Nov 9 21:52:01 2011
@@ -483,22 +483,27 @@
if (roomClientObj.publicSID == canvas.publicSID) {
if ($debug) Debug.write("Set Mute for
Client :: ",roomClientObj.username);
if (roomClientObj.micMuted) {
- if ($debug) Debug.write("############ SET GAIN 0");
- this._chatvideoinner._videostream.micro.setGain(0);
+ if (null != this._chatvideoinner._videostream.micro) {
+ if ($debug) Debug.write("############ SET GAIN 0");
+ this._chatvideoinner._videostream.micro.setGain(0);
+ }
} else {
- if ($debug) Debug.write("############ SET GAIN 50");
- this._chatvideoinner._videostream.micro.setGain(50);
+ if (null != this._chatvideoinner._videostream.micro) {
+ if ($debug) Debug.write("############ SET GAIN
50");
+
this._chatvideoinner._videostream.micro.setGain(50);
+ }
}
}
this.isMutedByModerator = roomClientObj.micMuted;
this.setMicMuted(roomClientObj.micMuted);
} else {
- if (!roomClientObj.micMuted) {
+ // What is it? It adds problems to the interview room
+ //if (!roomClientObj.micMuted) {
//Make sure sound is on, in case a user has set it
locally to 0
//in other words: overwrite any local settings
- this._chatvideoinner._videostream.setVolume(100);
- }
+ //this._chatvideoinner._videostream.setVolume(100);
+ //}
}
]]>
</method>
=======================================
---
/branches/video-component/WebContent/openmeetings/modules/conference/video/videoObjectPlayBroadcast.lzx
Tue Nov 8 23:12:38 2011
+++
/branches/video-component/WebContent/openmeetings/modules/conference/video/videoObjectPlayBroadcast.lzx
Wed Nov 9 21:52:01 2011
@@ -26,10 +26,10 @@
<handler name="onpublicSID" args="value">
if (canvas.publicSID == value) {
- this._toolbar._mute.setAttribute('visibility','hidden');
+ //this._toolbar._mute.setAttribute('visibility','hidden');
this.setSoundVolume(0);
} else {
- this._toolbar._mute.setAttribute('visibility','visible');
+ //this._toolbar._mute.setAttribute('visibility','visible');
this.setSoundVolume(100);
}
</handler>
--
You received this message because you are subscribed to the Google Groups
"OpenMeetings developers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/openmeetings-dev?hl=en.