Author: sebawagner
Date: Fri Mar 2 10:28:30 2012
New Revision: 1296117
URL: http://svn.apache.org/viewvc?rev=1296117&view=rev
Log:
OPENMEETINGS-47
fix ScopeApplicationAdapter / sync and message broadcasting mechanism to not
send messages to SWF10 client
Modified:
incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ScopeApplicationAdapter.java
Modified:
incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ScopeApplicationAdapter.java
URL:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ScopeApplicationAdapter.java?rev=1296117&r1=1296116&r2=1296117&view=diff
==============================================================================
---
incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ScopeApplicationAdapter.java
(original)
+++
incubator/openmeetings/trunk/singlewebapp/src/app/org/openmeetings/app/remote/red5/ScopeApplicationAdapter.java
Fri Mar 2 10:28:30 2012
@@ -2261,12 +2261,17 @@ public class ScopeApplicationAdapter ext
RoomClient rcl =
this.clientListManager
.getClientByStreamId(conn.getClient().getId());
- if (rcl == null
- ||
(rcl.getIsScreenClient() != null && rcl
-
.getIsScreenClient())) {
+ if (rcl == null) {
// rcl can be
null if there are network problems
+ continue;
+ } else if
(rcl.getIsScreenClient() != null && rcl
+
.getIsScreenClient()) {
//
screensharing clients do not receive events
continue;
+ } else if
(rcl.getIsAVClient() == null || rcl
+
.getIsAVClient()) {
+ // avclient or
potential AVClients do not receive events
+ continue;
} else if
(current.getClient().getId().equals(
conn.getClient().getId()) && !sendSelf) {
//Do not send
back to self