[Red5commits] [red5 commit] r3134 - java/server/trunk/src/org/red5/server/stream
codesite-noreply at google.com
codesite-noreply at google.com
Wed Oct 1 14:14:48 PDT 2008
Author: mondain
Date: Wed Oct 1 14:13:53 2008
New Revision: 3134
Modified:
java/server/trunk/src/org/red5/server/stream/ClientBroadcastStream.java
Log:
Fixed bug wherein a log could be filled with exceptions if a record pipe
does not exist in ClientBroadcastStream when events start flowing. This can
occur when streamBroadcastStart is overridden and the super class is not
called quickly enough.
Modified:
java/server/trunk/src/org/red5/server/stream/ClientBroadcastStream.java
==============================================================================
--- java/server/trunk/src/org/red5/server/stream/ClientBroadcastStream.java
(original)
+++ java/server/trunk/src/org/red5/server/stream/ClientBroadcastStream.java
Wed Oct 1 14:13:53 2008
@@ -328,8 +328,14 @@
try {
if (livePipe != null) {
livePipe.pushMessage(msg);
+ } else {
+ log.debug("Live pipe was null, message was not pushed");
+ }
+ if (recordPipe != null) {
+ recordPipe.pushMessage(msg);
+ } else {
+ log.debug("Record pipe was null, message was not pushed");
}
- recordPipe.pushMessage(msg);
} catch (IOException err) {
sendRecordFailedNotify(err.getMessage());
stop();
More information about the Red5commits
mailing list