yatko / video-chat Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/video-chat
Automatically exported from code.google.com/p/video-chat
Hello
I have successfully compiled the java and flash parts , to run on a red5 server .
No I have this error message:
[INFO] [RTMPConnectionExecutor#Z1JUJ1SUZHUTS-1] com.jabbercam.JabberCamApp - W3C x-category:session x-event:connect c-ip:90.86.159.41 c-client-id:0
[ERROR] [RTMPConnectionExecutor#Z1JUJ1SUZHUTS-1] org.red5.server.net.rtmp.RTMPHandler - Error connecting {}
java.lang.NullPointerException: null
at com.jabbercam.JabberCamAppData.executeQuery(JabberCamAppData.java:63) ~[na:na]
at com.jabbercam.JabberCamApp.appConnect(JabberCamApp.java:87) ~[na:na]
at org.red5.server.adapter.MultiThreadedApplicationAdapter.connect(MultiThreadedApplicationAdapter.java:321) ~[red5-server.jar:1.0.4-RELEASE]
at org.red5.server.adapter.ApplicationAdapter.connect(ApplicationAdapter.java:42) ~[red5-server.jar:1.0.4-RELEASE]
at org.red5.server.scope.Scope.connect(Scope.java:255) ~[red5-server-common-1.0.4-RELEASE.jar:na]
at org.red5.server.BaseConnection.connect(BaseConnection.java:354) ~[red5-server-common-1.0.4-RELEASE.jar:na]
at org.red5.server.net.rtmp.RTMPConnection.connect(RTMPConnection.java:397) ~[red5-server-common-1.0.4-RELEASE.jar:1.0.4-RELEASE]
at org.red5.server.net.rtmp.RTMPMinaConnection.connect(RTMPMinaConnection.java:87) ~[red5-server-common-1.0.4-RELEASE.jar:1.0.4-RELEASE]
at org.red5.server.net.rtmp.RTMPHandler.onCommand(RTMPHandler.java:347) ~[red5-server-common-1.0.4-RELEASE.jar:1.0.4-RELEASE]
at org.red5.server.net.rtmp.BaseRTMPHandler.messageReceived(BaseRTMPHandler.java:105) [red5-server-common-1.0.4-RELEASE.jar:1.0.4-RELEASE]
at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:57) [red5-server-common-1.0.4-RELEASE.jar:1.0.4-RELEASE]
at org.red5.server.net.rtmp.ReceivedMessageTask.call(ReceivedMessageTask.java:11) [red5-server-common-1.0.4-RELEASE.jar:1.0.4-RELEASE]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [na:1.8.0_131]
at java.util.concurrent.FutureTask.run(FutureTask.java:266) [na:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_131]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_131]
at java.lang.Thread.run(Thread.java:748) [na:1.8.0_131]
[WARN] [RTMPConnectionExecutor#Z1JUJ1SUZHUTS-1] org.red5.server.net.rtmp.RTMPConnManager - Connection not found for Z1JUJ1SUZHUTS
Same problem with red5 106release.
The error is in the SQL query execution section,
I ran the SQL request manually (unix shell) , it went just fine .
Best regards and thank you in advance .
This failure is rare and seem to be cause by differences in speed and or
internet connection speed of users
What steps will reproduce the problem?
1.Start session between 2 users with noticeable difference in internet
connection and/or computer speeds
2.confirm that the red5 server retrieved an event:
dispatchEvent: adjust archaic videoTime, from: x to y
3.close connection using :
outgoingStream/incomingStream.close();
outgoingStream/incomingStream.removeEventListener(NetStatusEvent.NET_STATUS,
outgoingStreamHandler);
until this poin everything is fine
then when using :
outgoingStream/incomingStream = null;
decoder will send an error curupting the server and abusing the jvm memory cach.
What is the expected output? What do you see instead?
The expected output is blank (no events)
the real result is a decoder error:
[WARN] [NioProcessor-2] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder -
Unknown object type: 0/2/3
whitch will result in jvm heap space error andserver failure;
What version of the product are you using? On what operating system?
seem to be going threw all the latest version of red5.
vps tested on was centos dont think os make much differece...
as far as i've tried removing the lines:
outgoingStream/incomingStream = null;
solves the problem.
Original issue reported on code.google.com by [email protected]
on 1 Sep 2011 at 1:19
What steps will reproduce the problem?
1. Install Red5 and RVC
1.1
http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-serv
er
1.2 http://www.videosoftware.pro/forum/THREAD-Installing-JabberCam-RVC-4
2. Deploy the JaberCamApp to your Red5 webapps dir:
http://www.videosoftware.pro/forum/THREAD-Red5-apps-for-CRC-and-JabberCam
3. Enable Red5 in config.php $SERVER_TYPE = 'Red5';
4. Run RVC for at least 24 hours
What is the expected output? What do you see instead?
1. The server will generate large log files.
1.1 Failed attempt to avoid large logs (RED5 LARGE LOG FILE section):
http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-serv
er
2. Red5 server will go down after 6-24 hours.
3. /etc/init.d/red5 restart won't help
3.1 kilall -u java won't help
Red5 INIT FILE:
http://www.videosoftware.pro/forum/THREAD-Install-Red5-on-cPanel-WHM-CentOS-serv
er
Please use labels and text to provide additional information.
The problem may be caused by:
- error in java application (JabberCamApp)
- MySQL connection trough java and he drivers
- log handling
- memory leak
- Red5 issue
- other unknown problem
Original issue reported on code.google.com by kalman.venczel
on 22 Apr 2011 at 7:16
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.