Interalab, It is located in the red5-core.xml, see below:
Check the latest from the trunk. Bump keepAliveInterval up to 1000000 Lenny ****************************************************************************************** <?xml version="1.0" encoding="UTF-8" ?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:lang="http://www.springframework.org/schema/lang" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd http://www.springframework.org/schema/lang http://www.springframework.org/schema/lang/spring-lang-2.0.xsd"> <!-- This context holds all the networking: mina --> <bean id="customEditorConfigurer" class="org.springframework.beans.factory.config.CustomEditorConfigurer"> <property name="customEditors"> <map> <entry key="java.net.SocketAddress"> <bean class="org.apache.mina.integration.spring.InetSocketAddressEditor" /> </entry> </map> </property> </bean> <bean id="placeholderConfig" class=" org.springframework.beans.factory.config.PropertyPlaceholderConfigurer"> <property name="location" value="classpath:/red5.properties" /> </bean> <bean id="threadExecutor" class=" org.apache.mina.integration.spring.ThreadPoolExecutorFactoryBean"> <!-- use configured thread count as core pool size --> <property name="corePoolSize" value="${rtmp.threadcount}" /> <!-- use a SynchronousQueue to handle requests to the threads --> <property name="queueCapacity" value="0" /> </bean> <bean id="filterChainBuilder" class=" org.apache.mina.integration.spring.DefaultIoFilterChainBuilderFactoryBean"> <property name="filters"> <list> <!-- mina 1.0 with java5 executor class --> <bean class="org.red5.io.filter.ExecutorFilter"> <!-- int corePoolSize, int maximumPoolSize, long keepAliveTime (seconds) --> <constructor-arg index="0" value="16" /> <constructor-arg index="1" value="128" /> <constructor-arg index="2" value="60" /> </bean> </list> </property> </bean> <bean id="socketAcceptor" class=" org.apache.mina.integration.spring.IoAcceptorFactoryBean"> <property name="target"> <bean class="org.apache.mina.transport.socket.nio.SocketAcceptor"> <constructor-arg value="${rtmp.threadcount}" /> <constructor-arg><ref bean="threadExecutor"/></constructor-arg> </bean> </property> <property name="bindings"> <list> <!-- RTMP --> <bean class="org.apache.mina.integration.spring.Binding"> <property name="address" value="${rtmp.host_port}"/> <property name="handler" ref="rtmpMinaIoHandler"/> <property name="serviceConfig"> <bean class=" org.apache.mina.transport.socket.nio.SocketAcceptorConfig"> <property name="filterChainBuilder" ref="filterChainBuilder"/> <property name="reuseAddress" value="true"/> <property name="sessionConfig.receiveBufferSize" value="65536" /><!-- 64k --> <property name="sessionConfig.sendBufferSize" value="271360" /><!-- 256k --> <property name="sessionConfig.tcpNoDelay" value="true" /> <property name="sessionConfig.reuseAddress" value="true"/> </bean> </property> </bean> <!-- DEBUG PROXY --> <bean class="org.apache.mina.integration.spring.Binding"> <property name="address" value="${debug_proxy.host_port}"/> <property name="handler" ref="debugProxyIoHandler"/> <property name="serviceConfig"> <bean class=" org.apache.mina.transport.socket.nio.SocketAcceptorConfig"> <property name="filterChainBuilder" ref="filterChainBuilder"/> <property name="reuseAddress" value="true"/> <property name="sessionConfig.reuseAddress" value="true"/> </bean> </property> </bean> </list> </property> </bean> <!-- RTMPHandler --> <bean id="rtmpHandler" class="org.red5.server.net.rtmp.RTMPHandler"> <property name="server" ref="red5.server" /> <property name="statusObjectService" ref="statusObjectService" /> </bean> <bean id="rtmpMinaIoHandler" class="org.red5.server.net.rtmp.RTMPMinaIoHandler"> <property name="handler" ref="rtmpHandler" /> <property name="codecFactory" ref="rtmpCodecFactory" /> </bean> <bean id="rtmptHandler" class="org.red5.server.net.rtmpt.RTMPTHandler" autowire="byType"> <property name="codecFactory" ref="rtmpCodecFactory" /> </bean> <bean id="rtmpMinaConnection" scope="prototype" class="org.red5.server.net.rtmp.RTMPMinaConnection"> <property name="keepAliveInterval" value="1000000" /> </bean> <bean id="rtmptConnection" scope="prototype" class="org.red5.server.net.rtmpt.RTMPTConnection"> <property name="keepAliveInterval" value="1000000" /> </bean> <!-- Jetty Container --> <!-- <bean id="rtmpt.server" class="org.red5.server.net.rtmpt.RTMPTLoader" init-method="init" autowire="byType" /> --> <!-- Tomcat Container --> <!-- <bean id="rtmpt.server" class="org.red5.server.net.rtmpt.TomcatRTMPTLoader" init-method="init" autowire="byType"> <property name="embedded"> <bean class="org.apache.catalina.startup.Embedded" /> </property> <property name="engine"> <bean class="org.apache.catalina.core.StandardEngine"> <property name="name" value="rtmptServletHandler" /> <property name="defaultHost" value="localhost" /> </bean> </property> <property name="connector"> <bean class="org.apache.catalina.connector.Connector"> <property name="port"><value>8088</value></property> <property name="enableLookups"><value>false</value></property> </bean> </property> <property name="host"> <bean class="org.apache.catalina.core.StandardHost"> <property name="name" value="localhost" /> <property name="unpackWARs" value="false" /> <property name="autoDeploy" value="false" /> <property name="xmlValidation" value="false" /> <property name="xmlNamespaceAware" value="false" /> </bean> </property> <property name="context"> <map> <entry> <key><value>name</value></key> <value>rtmptContext</value> </entry> <entry> <key><value>path</value></key> <value></value> </entry> <entry> <key><value>docBase</value></key> <value>/</value> </entry> </map> </property> <property name="wrapper"> <bean class="org.apache.catalina.core.StandardWrapper"> <property name="servletName" value="RTMPTServlet" /> <property name="servletClass" value=" org.red5.server.net.servlet.RTMPTServlet" /> </bean> </property> <property name="mappings"> <map> <entry> <key><value>RTMPTServlet</value></key> <value>/open/*</value> </entry> <entry> <key><value>RTMPTServlet</value></key> <value>/close/*</value> </entry> <entry> <key><value>RTMPTServlet</value></key> <value>/send/*</value> </entry> <entry> <key><value>RTMPTServlet</value></key> <value>/idle/*</value> </entry> </map> </property> </bean> --> <bean id="debugProxyIoHandler" class="org.red5.server.net.proxy.DebugProxyHandler"> <property name="codecFactory" ref="rtmpCodecFactory" /> <property name="forward" value="${proxy_forward.host_port}" /> <property name="dumpTo" value="./webapps/dump/" /> </bean> </beans> ******************************************************************************************** On 4/15/07, Interalab <[EMAIL PROTECTED]> wrote:
Where are the keep alive settings on the server located???? Max Medvetsky wrote: > > Good news! It looks likes disconnection problem has gone. I'm not able > to reproduce problem on http://www.fatdot.com:8080/red5/. Will try to > play with keepAlive settings on my server. > > Max Medvetsky wrote: >> Hello Lenny, >> I now realize that you've changed keepAlive settings on a server, so >> I will get back to you with my feedback on whether or not we are >> still running into disconnections. Hopefully the problem will not >> re-appear. >> >> Max Medvetsky wrote: >>> Hello Lenny, >>> The IP from where the disconnection problem was experienced is >>> 89.110.59.17 - and it is located in St.-Petersburg, Russia. >>> The advertised connection speed there is 1Mbit/256Kbit (down/up). >>> But when trying to measure bandwidth from St Petersburg to L.A. >>> with bwcheck posted by Dan Rossi, we are barely reaching 200Kbit. >>> >>> "69.229.7.72 - Los Angeles, CA - Max, This must be you." >>> >>> I've asked couple of my friends in L.A. to see if there is a problem >>> with play/pause. I personally have different IP 75.28.101.234, which >>> is also listed in your log. >>> >>> >>> Lenny Sorey wrote: >>>> If anyone from the following IP addresses who reviewed the RED5 >>>> server Player demo at >>>> http://www.fatdot.com:8080/red5/ wouldn't mind taking a short bit >>>> of time and let me know if >>>> you had success or problems with viewing any of the streaming videos. >>>> >>>> Please also give the speed of your connections as well. I am trying >>>> to run tdown he problem described by >>>> Max Medvetsky he described with disconnects with slow or busy >>>> connections. >>>> >>>> This will help a lot. >>>> >>>> Thanks, >>>> >>>> Lenny >>>> >>>> 84.78.80.19 <http://84.78.80.19> - Madrid SPAIN >>>> >>>> 200.111.27.30 <http://200.111.27.30> Santiago Chile >>>> >>>> 82.67.179.170 <http://82.67.179.170> - Paris >>>> >>>> 89.110.59.17 <http://89.110.59.17> - St.-Petersburg Russia >>>> >>>> 75.28.101.234 <http://75.28.101.234> - SBC Internet Services >>>> SBCIS-SBIS-6BLK >>>> >>>> 84.255.204.64 <http://84.255.204.64> - Slovenia >>>> >>>> 69.229.7.72 <http://69.229.7.72> - Los Angeles, CA - Max, This must >>>> be you. >>>> >>>> 89.245.98.239 <http://89.245.98.239> - Dortmund Germany >>>> >>>> 90.38.51.3 <http://90.38.51.3> - Wanadoo France >>>> >>>> 193.252.110.51 <http://193.252.110.51> - Wanadoo France >>>> >>>> 80.197.55.35 <http://80.197.55.35> - Tranbjerg Denmark >>>> >>>> 90.24.150.153 <http://90.24.150.153> - Wanadoo France >>>> >>>> 82.123.65.73 <http://82.123.65.73> - Wanadoo France >>>> >>>> 201.231.193.232 <http://201.231.193.232> - Buenos Aires Argentina >>>> >>>> 212.159.102.69 <http://212.159.102.69> - Sheffield UK2 >>>> >>>> 212.159.106.41 <http://212.159.106.41> - Sheffield UK - ClamAV >>>> devel-20070412 >>>> >>>> 196.202.192.126 <http://196.202.192.126> - Telkom Kenya >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> _______________________________________________ >>>> Red5 mailing list >>>> [email protected] >>>> http://osflash.org/mailman/listinfo/red5_osflash.org >>>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Red5 mailing list >>> [email protected] >>> http://osflash.org/mailman/listinfo/red5_osflash.org >>> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Red5 mailing list >> [email protected] >> http://osflash.org/mailman/listinfo/red5_osflash.org >> > > ------------------------------------------------------------------------ > > _______________________________________________ > Red5 mailing list > [email protected] > http://osflash.org/mailman/listinfo/red5_osflash.org > _______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
_______________________________________________ Red5 mailing list [email protected] http://osflash.org/mailman/listinfo/red5_osflash.org
