Page 1 of 1

Brand New to using RedBox

Posted: 07 Dec 2010, 20:08
by vision2020
Disclaimer: I am brand new to using RedBox.

I have SmartFox installed, and have implemented the RedBox extension, but I'm having issues getting it to work. It's throwing this error:

Code: Select all

[RedBox] NetStatusEvent response received
[RedBox] Level: status | Code:NetConnection.Connect.Closed
[RedBox] NetConnection error, dispatching event...
[RedBox] NetStatusEvent response received
[RedBox] Level: error | Code:NetConnection.Connect.Failed
[RedBox] NetConnection error, dispatching event...


This is what I have in my VideoChat Class:

Code: Select all

vidChat = new AVChatManager(manager.getSFS(), manager.getIP(), true);

vidChat.addEventListener(RedBoxChatEvent.onAVConnectionInited, onAVConnectionInited);

vidChat.addEventListener(RedBoxChatEvent.onAVConnectionError, onAVConnectionError);

vidChat.initAVConnection();


I have SmartFoxServer running, and have come to the conclusion that I may need to download "Red5," which I did. I set the JAVA_HOME variable to the path of my JDK installation, as per many other instructions, but now when I startup Red5 Server, I get a quick pop-up that I was finally able to capture before it closed that says

Code: Select all

Starting Red5
Exception in thread "main" java.lang.NoClassDefFoundError: org/red5/server/Bootstrap
Caused by: java.lang.ClassNotFoundException: org.red5.server.Bootstrap
   at java.net.URLClassLoader$1.run(Unknown Source)
   at java.security.AccessController.doPrivileged(Native Method)
   at java.net.URLClassLoader.findClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
   at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
   at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.red5.server.Bootstrap. Program will exit.


Is there more that I need to install? I saw something about Apache Ant?

My ultimate goal is to capture and stream a live video, that flash then positions in the background of other DisplayObjects.

Let me know if you have questions.