[Red5commits] [1890] fixed RTMPT connections still using the old property for ghost client detection

jbauch luke at codegent.com
Tue Apr 17 17:20:12 EDT 2007


fixed RTMPT connections still using the old property for ghost client detection


Timestamp: 04/17/07 16:13:59 EST (less than one hour ago) 
Change: 1890 
Author: jbauch

Files (see diff or trac for details): 
java/server/trunk/conf/red5-core.xml


Trac: http://mirror1.cvsdude.com/trac/osflash/red5/changeset/1890

Index: /java/server/trunk/conf/red5-core.xml
===================================================================
--- /java/server/trunk/conf/red5-core.xml (revision 1869)
+++ /java/server/trunk/conf/red5-core.xml (revision 1890)
@@ -117,5 +117,8 @@
 	<bean id="rtmptConnection" scope="prototype"
 		class="org.red5.server.net.rtmpt.RTMPTConnection">
-		<property name="keepAliveInterval" value="10000" />
+		<!-- Ping clients every X ms. Set to 0 to disable ghost detection code. -->
+		<property name="pingInterval" value="5000" />
+		<!-- Disconnect client after X ms of not responding. -->
+		<property name="maxInactivity" value="60000" />
 	</bean>
 	


Note:
Diffs are chopped if more than 25k.
This is to get past the limit on the mailing list.



More information about the Red5commits mailing list