Revision: 99
Author: [email protected]
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) {
}