Hi Joachim,

I was inserting the following back into the red5-core.xml.

<bean id="rtmpMinaConnection" scope="prototype"
 class="org.red5.server.net.rtmp.RTMPMinaConnection">
 <!-- 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" />

   <property name="keepAliveInterval" value="1000000" />   <  -   Adding
this back in as a property name
</bean>



thanks for the explanation.
Guess what was confusing to me was I did not see the following in the jetty
red5-core.xml

<!-- 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" />


My bad. : )

Regards,

Lenny





On 4/17/07, Joachim Bauch <[EMAIL PROTECTED]> wrote:

Hi Lenny,

Lenny Sorey schrieb:
> I got my configuration back in the red5-core.xml to where things area
> playing now.
>
> The only thing is I cannot use the following item below in red.
[...]
>     <property name="keepAliveInterval" value="1000000" />

That setting is deprecated. I rewrote the ghost detection code yesterday,
so you don't need to pass that high numbers any more. The default values
should never disconnect active clients.

> I cannot run this down as to where the problem is  in the
> BaseRTMPHandler.java
>
> I still keep getting the following error in my log.
>
> [ERROR] 15562 pool-2-thread-4:(
> org.red5.server.net.rtmp.BaseRTMPHandler.error ) Exception
> java.lang.NullPointerException
>  at
> org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(
BaseRTMPHandler.java:96)
[...]

Hmm, that is a bit strange. What are you doing that triggers the error?
I'm currently testing with ofla_demo.swf and everything is working fine
(Java5, Red5 Standalone)

Joachim

_______________________________________________
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

Reply via email to