Author: a_horuzhenko
Date: Mon Jul  1 13:34:33 2013
New Revision: 1498438

URL: http://svn.apache.org/r1498438
Log:
[OPENMEETINGS-687] Microphone unmuting has been fixed.

Modified:
    openmeetings/branches/2.1/WebContent/swf10/base/remote/baseVideoStream.lzx

Modified: 
openmeetings/branches/2.1/WebContent/swf10/base/remote/baseVideoStream.lzx
URL: 
http://svn.apache.org/viewvc/openmeetings/branches/2.1/WebContent/swf10/base/remote/baseVideoStream.lzx?rev=1498438&r1=1498437&r2=1498438&view=diff
==============================================================================
--- openmeetings/branches/2.1/WebContent/swf10/base/remote/baseVideoStream.lzx 
(original)
+++ openmeetings/branches/2.1/WebContent/swf10/base/remote/baseVideoStream.lzx 
Mon Jul  1 13:34:33 2013
@@ -71,6 +71,8 @@
 
     <!--- Default mic gain -->
     <attribute name="micGain" value="50" type="number"/>
+    
+    <attribute name="micMuted" value="false" />
 
        <event name="onMetaDataEvent" />
        <event name="onPlayStatusEvent" />
@@ -240,6 +242,7 @@
                if (micReference != null) {
                        this.setAttribute('micro', micReference);
                        this._ns.attachAudio(micReference);
+                       muteMicro(this.micMuted);
                }
                
                this._ns.publish(streamName, (mode == "broadcast") ? "live" : 
mode);
@@ -324,6 +327,7 @@
 
        <method name="muteMicro" args="mute">
                if ($debug) Debug.write(":: muteMicro ", mute, 
parent.parent.publicSID);
+               this.micMuted = mute;
                if(this.micro != null) {
                        if(mute) {
                                if (this.micro.gain == 0) {


Reply via email to