Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue using StreamRelay #3

Closed
mirkpul opened this issue May 6, 2014 · 1 comment
Closed

Issue using StreamRelay #3

mirkpul opened this issue May 6, 2014 · 1 comment

Comments

@mirkpul
Copy link

mirkpul commented May 6, 2014

Hi,

we've compiled the master version of red5-client with maven (we needed to change the red5 server version from 1.0.2 to 1.0.2-RC2, with 1.0.2-RELEASE it doesn't work).

StreamRelay is not working, it connects to the Red5 server but getting this and no relay stream is published.

We've published a nellymoser 8kwh sample audio stream using a flash sample swf.

Any idea?

11:45:41.543 [NioProcessor-2] INFO o.r.s.n.r.codec.RTMPProtocolDecoder - > 0: {level=status, description=Connection succeeded., data={type=red5, version=4,0,0,1121}, capabilities=31, code=NetConnection.Connect.Success, fmsVer=RED5/1,0,2,0, mode=1}
11:45:41.543 [NioProcessor-2] DEBUG o.r.c.net.rtmp.RTMPMinaIoHandler - messageReceived
11:45:41.543 [NioProcessor-2] DEBUG o.r.client.net.rtmp.RTMPConnManager - Getting connection by session id: I3YLEKAQA6YS7
11:45:41.543 [NioProcessor-2] DEBUG o.r.server.net.rtmp.RTMPConnManager - Getting connection by session id: I3YLEKAQA6YS7
11:45:41.543 [NioProcessor-2] WARN o.r.server.net.rtmp.RTMPConnManager - Connection not found for I3YLEKAQA6YS7
11:45:41.544 [NioProcessor-2] DEBUG o.r.c.net.rtmp.RTMPMinaIoHandler - messageReceived
11:45:41.544 [ThreadPoolTaskExecutor-1] ERROR o.r.s.net.rtmp.ReceivedMessageTask - Error processing received message I3YLEKAQA6YS7
java.lang.NullPointerException: null
at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:66) ~[red5-client-1.0.2-RC2-jar-with-dependencies.jar:na]
at org.red5.server.net.rtmp.ReceivedMessageTask.run(ReceivedMessageTask.java:36) ~[red5-client-1.0.2-RC2-jar-with-dependencies.jar:na]
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) [na:1.7.0_51]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) [na:1.7.0_51]
at java.lang.Thread.run(Unknown Source) [na:1.7.0_51]
11:45:41.545 [NioProcessor-2] DEBUG o.r.client.net.rtmp.RTMPConnManager - Getting connection by session id: I3YLEKAQA6YS7
11:45:41.546 [NioProcessor-2] DEBUG o.r.server.net.rtmp.RTMPConnManager - Getting connection by session id: I3YLEKAQA6YS7
11:45:41.546 [NioProcessor-2] WARN o.r.server.net.rtmp.RTMPConnManager - Connection not found for I3YLEKAQA6YS7

@mondain
Copy link
Member

mondain commented Nov 4, 2014

The connection was null when the messageReceived was called and this is the reason for the NPE. The indication was this message in your log:

Connection not found for I3YLEKAQA6YS7

It occurs before and after the call.

@mondain mondain closed this as completed Nov 4, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants