VideoConferenceInstalling

From Dokeos

Jump to: navigation, search

Contents

Step1 System requirements,packages

Required Ports: 8080,5080 (debuging: 8088,1935) for streaming. This can be changed in Red5 configuration in conf/red5.properties and the Client in the variable *rtmphost*.

Install Java JDK, set JAVA_HOME as environment variable to your Java installation Install Apache's mod_jk to run OpenLaszlo's Tomcat through Apache. It should point to *lps-latest* as Tomcat directory inside the OpenLaszlo Server.

Step2 Install OpenLaszlo Server

Get package from: The OpenLaszlo download page

Unpack it as the user of your choice in its home directory. It must be directly into a users' home directory.

Structure like: /home/myuser/lps-latest/

To run the server (JAVA_HOME must be set) (startup.bin on Windows):

/home/myuser/lps-latest/Server/tomcat-5.0.24/bin/startup.sh 

To stop the server (JAVA_HOME must be set) (shutdown.bin on Windows):

/home/myuser/lps-latest/Server/tomcat-5.0.24/bin/shutdown.sh

Started as the afore-mentioned user!

You can find more information about installing OpenLaszlo here

Step3 Install OpenOffice.org

Note: Please see MakeOOOListening instead of this chapter.

Install OOo (version >= 2).

On a Linux/Unix environment: Start OOo in headless mode. If you don't have any X DISPLAY available and don't want to, then you need something like a virtual frame buffer (xvfb) to start OOo as a service.

Start it as the same user as your OpenLaszlo Server!

Start xvfb:

Xvfb :99 -screen scrn0 800x600x16

Start OOo using xvfb:

/usr/lib/openoffice/program/soffice.bin -headless -nologo -norestore -accept=socket,host=localhost,port=2002;urp;StarOffice.ServiceManager -display :99

On a Windows environment:

$PATH_TO_MY:OFFICE:EXE -headless -nologo -norestore -accept=socket,host=localhost,port=2002;urp;StarOffice.ServiceManager

Step4 Install red5 Streaming server

Get package: *url* Unpack it to a directory of your choice. Inside the unpacked folder run the red5.sh script (JAVA_HOME must be set) Check it through your browser:

http://myhost:5080 (you should see the Red5 Welcome page)

Step5 OpenLaszlo and Streaming server on different hosts

By default the VideoConferencing is searching for a Streaming server under the same domain it has been loaded from on port 5080. To change that you have to alter the variables: rtmpport, rmphostlocal in the the file myOpenLaszloHost/lps-latest/dokeos/videoconference/videoconference.lzx

Search for the variable rtmphostlocal, and enter the correct hostname of the Strreaming-Server. Search for *rtmpconnection*, replace *rtmphost* with *rtmphostlocal* Test your changes


Related pages

http://www.dokeos.com/wiki/index.php/VideoConference
http://www.dokeos.com/wiki/index.php/VideoConferenceBandwidthCCategory:Configuration

Personal tools