Hello,
I've just setup the red5 server and can't seem to get the client to
server streaming working correctly. (I am an extreme newbie).
Mainly I want to record a stream from a client. I've tested the
simpleRecorder.swf and it doesn't seem to record to the server (no
file generated and error output). Also the simpleBoardcaster.swf
doesn't seem to broadcast since the simpleSubscriber.swf won't pick
anything up and only show a blank movie.
I can connect to the red5 server and I can receive the streams from
the ofla_demo.swf just fine.
When recording or sending any stream to the server I get a repeating
error message starting with:
[ERROR] 578136 mina-1:
( org.red5.server.net.rtmp.RTMPHandler.messageReceived ) Exception
I would appreciate any help.
Thanks,
Todd
Below is the last error message and the output after closeStream
[ERROR] 578136 mina-1:
( org.red5.server.net.rtmp.RTMPHandler.messageReceived ) Exception
java.lang.NullPointerException
at org.red5.server.net.rtmp.RTMPHandler.messageReceived
(RTMPHandler.java:123)
at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived
(RTMPMinaIoHandler.java:49)
at org.apache.mina.common.support.AbstractIoFilterChain
$2.messageReceived(AbstractIoFilterChain.java:188)
at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:504)
at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000
(AbstractIoFilterChain.java:51)
at org.apache.mina.common.support.AbstractIoFilterChain
$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:790)
at org.apache.mina.filter.ThreadPoolFilter.processEvent
(ThreadPoolFilter.java:706)
at org.apache.mina.filter.ThreadPoolFilter
$Worker.processEvents(ThreadPoolFilter.java:462)
at org.apache.mina.filter.ThreadPoolFilter$Worker.run
(ThreadPoolFilter.java:417)
[DEBUG] 578163 mina-4:( org.red5.server.Scope.getContext ) returning
context
[DEBUG] 578164 mina-4:
( org.red5.server.service.ServiceInvoker.findMethodWithExactParameters )
Found 1 methods
[DEBUG] 578165 mina-4:
( org.red5.server.service.ServiceInvoker.invoke ) Invoking method:
public void org.red5.server.stream.StreamServiceNew.closeStream()
[ERROR] 578165 mina-4:
( org.red5.server.service.ServiceInvoker.invoke ) Service invocation
error
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.red5.server.service.ServiceInvoker.invoke
(ServiceInvoker.java:182)
at org.red5.server.net.rtmp.RTMPHandler.invokeCall
(RTMPHandler.java:186)
at org.red5.server.net.rtmp.RTMPHandler.onInvoke
(RTMPHandler.java:300)
at org.red5.server.net.rtmp.RTMPHandler.messageReceived
(RTMPHandler.java:102)
at org.red5.server.net.rtmp.RTMPMinaIoHandler.messageReceived
(RTMPMinaIoHandler.java:49)
at org.apache.mina.common.support.AbstractIoFilterChain
$2.messageReceived(AbstractIoFilterChain.java:188)
at
org.apache.mina.common.support.AbstractIoFilterChain.callNextMessageRece
ived(AbstractIoFilterChain.java:504)
at
org.apache.mina.common.support.AbstractIoFilterChain.access$1000
(AbstractIoFilterChain.java:51)
at org.apache.mina.common.support.AbstractIoFilterChain
$EntryImpl$1.messageReceived(AbstractIoFilterChain.java:790)
at org.apache.mina.filter.ThreadPoolFilter.processEvent
(ThreadPoolFilter.java:706)
at org.apache.mina.filter.ThreadPoolFilter
$Worker.processEvents(ThreadPoolFilter.java:462)
at org.apache.mina.filter.ThreadPoolFilter$Worker.run
(ThreadPoolFilter.java:417)
Caused by: java.lang.NullPointerException
at org.red5.server.stream.StreamServiceNew.closeStream
(StreamServiceNew.java:27)
... 16 more
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org