You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openmeetings.apache.org by co...@google.com on 2013/02/21 18:24:22 UTC

[red5phone] r99 committed - Mic switched flag is now changed only for current client

Revision: 99
Author:   solomax666@gmail.com
Date:     Thu Feb 21 09:24:05 2013
Log:      Mic switched flag is now changed only for current client
http://code.google.com/p/red5phone/source/detail?r=99

Modified:
  /branches/red5sip/src/java/org/red5/sip/app/RTMPRoomClient.java

=======================================
--- /branches/red5sip/src/java/org/red5/sip/app/RTMPRoomClient.java	Thu Feb  
21 09:21:48 2013
+++ /branches/red5sip/src/java/org/red5/sip/app/RTMPRoomClient.java	Thu Feb  
21 09:24:05 2013
@@ -319,8 +319,10 @@
  					this.conn.close();
  				} else if ("updateMuteStatus".equals(msgValue.get(0))) {
  					Client client = (Client) msgValue.get(1);
-					log.info("Mic switched: " + client.getMicMuted());
-					this.micMuted = client.getMicMuted();
+					if (this.publicSID.equals(client.getPublicSID())) {
+						log.info("Mic switched: " + client.getMicMuted());
+						this.micMuted = client.getMicMuted();
+					}
  				}
  			} catch (Exception ignored) {
  			}