Author: a_horuzhenko
Date: Mon Jul 1 13:35:15 2013
New Revision: 1498440
URL: http://svn.apache.org/r1498440
Log:
[OPENMEETINGS-687] Microphone unmuting has been fixed.
Modified:
openmeetings/trunk/singlewebapp/WebContent/swf10/base/remote/baseVideoStream.lzx
Modified:
openmeetings/trunk/singlewebapp/WebContent/swf10/base/remote/baseVideoStream.lzx
URL:
http://svn.apache.org/viewvc/openmeetings/trunk/singlewebapp/WebContent/swf10/base/remote/baseVideoStream.lzx?rev=1498440&r1=1498439&r2=1498440&view=diff
==============================================================================
---
openmeetings/trunk/singlewebapp/WebContent/swf10/base/remote/baseVideoStream.lzx
(original)
+++
openmeetings/trunk/singlewebapp/WebContent/swf10/base/remote/baseVideoStream.lzx
Mon Jul 1 13:35:15 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) {