What is it
OpenMeetings is a multi-user browser software that allows you to instantly create a conference on the Internet.
You can use your microphone or webcam, share documents on bulletin boards.
It is available as a network service, but you can download and install the package from the server without any restrictions in use or number of users.
Initial data
In our company,
Moodle is used as a distance learning system (hereinafter LMS). It suits us completely, except for the absence of live communication between the teacher and the student.
Therefore, it was decided to add a video conferencing application to the existing DLS. I chose my Openmeetings as my choice because it is this system that integrates with Moodle and there is even a special module for this.
I decided to install the system on CentOS. Pretty googling in search of a manual for installation, and through trial and error I realized that all the instructions on the network are either outdated or incomplete.
')
All the rakes that I came across in the process under the cut
Installation
So, there is a server with CentOS 5.7 x64 installed and preinstalled Development Tools, Development Libraries, MySQL Database and Java, as well as disabled SELinux.
In the latest versions of openmeetings, MySQL is no longer used; all data is stored in a file database.
Perform a standard package upgrade procedure:
yum update
yum upgrade
Add the rpmforge repository to install additional packages:
cd /tmp
wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -ihv rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
cd /tmp
wget http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
rpm -ihv rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
Install the necessary openmeetings packages:
yum install freetype freetype-devel fontconfig fontconfig-devel java-1.6.0-openjdk-devel libtiff libtiff-devel libjpeg-devel libjpeg giflib giflib-devel libpaper libpaper-devel xml-commons-apis libpng libpng-devel libxml2 libxml2-devel fftw3 fftw3-devel cairo cairo-devel flac flac-devel wavpack wavpack-devel libsndfile libsndfile-devel libmad libmad-devel yasm-devel yasm
If our plans include the exchange of presentations and documents in the Openmeetings environment (and our plans included this), then we add:
yum groupinstall 'Office/Productivity'
yum install openoffice.org-headless
And in
/etc/rc.local, we add the launch of soffice, which will convert the documents into the format you need for openmeetings:
soffice "-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager" -nologo -headless -nofirststartwizard &
Remove the ghostscript installed from the CentOS repositories in order to compile a newer version from the sources, since I refused to work with the old openmeetings (first rake):
rpm -e --nodeps ghostscript
Now we download and collect the necessary programs from sources, namely: Lame, Ghostscript, FFmpeg, SWFTOOLS, ImageMagick, SOX. FFmpeg is compiled with libmp3lame, postproc, gpl, pthreads, avfilter. It is necessary to write to the avi / flv-file of the workspace in the openmeetings environment (not to be confused with sharing).
cd /usr/src
wget ghostscript.com/releases/ghostscript-8.71.tar.gz
tar zxvf ghostscript-8.71.tar.gz
cd ghostscript-8.71
./configure --prefix=/usr
mkdir obj
mkdir bin
make all
make install
cd /usr/src
wget downloads.sourceforge.net/project/lame/lame/3.98.4/lame-3.98.4.tar.gz
tar zxvf lame-3.98.4.tar.gz
cd lame-3.98.4
./configure --prefix=/usr
make all
make install
cd /usr/src
wget www.swftools.org/swftools-0.9.1.tar.gz
tar zxvf swftools-0.9.1.tar.gz
cd swftools-0.9.1
./configure --prefix=/usr
make all
make install
At the time of this writing, the site
www.swftools.org was unavailable, so the package was searched on other resources.
cd /usr/src
wget jaist.dl.sourceforge.net/project/imagemagick/old-sources/6.x/6.6/ImageMagick-6.6.4-10.tar.gz
tar zxvf ImageMagick-6.6.4-10.tar.gz
cd ImageMagick-6.6.4-10
./configure --prefix=/usr
make all
make install
cd /usr/src
wget ffmpeg.org/releases/ffmpeg-0.8.5.tar.gz
tar zxvf ffmpeg-0.8.5.tar.gz
cd ffmpeg-0.8.5
./configure --enable-libmp3lame --enable-postproc --enable-gpl --enable-pthreads --enable-avfilter --prefix=/usr
make all
make install
cd /usr/src
wget downloads.sourceforge.net/project/sox/sox/14.3.1/sox-14.3.1.tar.gz
tar zxvf sox-14.3.1.tar.gz
cd sox-14.3.1
./configure --prefix=/usr
make all
make install
When done, you can download and install openmeetings. You can download from SVN, but I prefer to take stable builds.
mkdir /home/openmeetings
cd /home/openmeetings
wget openmeetings.googlecode.com/files/openmeetings_1_8_6_r4488.zip
unzip openmeetings_1_8_6_r4488.zip
Now it's time to start and install the application:
cd red5/
chmod +x red5.sh
./red5.sh
In the address bar of the browser we type
http:
Go to the installation. From the required data, enter the user name, password, e-mail. The rest is optional. In any case, all entered data can then be changed.
We are waiting for the installation to be completed and we will be asked to enter the portal.
Check one of the main features of the system, namely, write the workspace to a file. To do this, go to any room (Room) and try to record the actions performed. The recording is made in the Shared / Record screen menu in the upper right of the room. Select the recording quality and click “Start Recording”. When the recording is finished, it will be automatically available in the Recordings menu.
Going there her (record) can be downloaded, BUT ...
Here we have an error:
generateFFMPEG
process-mergeWave
error-sox: error while loading shared libraries: libsox.so.1: cannot open shared object file: No such file or directory
command-[sox, /home/openmeetings/red5/webapps/openmeetings/streams/hibernate/one_second.wav, /home/openmeetings/red5/webapps/openmeetings/streams/7/rec_1_stream_568de7a556addf82e0c38ca02600e5f3_03_11_2011_09_37_33_FINAL_WAVE.wav, pad, 0, 2.714]
exitValue-127
Apparently the sox library is not loaded. How so, because we installed it? The problem is solved very simply. Add to
/etc/ld.so.conf line
/usr/lib
And execute
ldconfig
This will tell you where to actually look for the sox ffmpeg library.
Try again to record video and voila! Everything turned out and works.
Conclusion
In conclusion, I want to say that this video conferencing system proved to be a good one. It is easy to manage for administrators and teachers and has a fairly friendly and intuitive interface for ordinary users. The quality of sound and video at a good level. The quality of the recording is excellent. In general, the authorities are pretty.
PS: If the article is to be liked by the respected community, I can continue to write on the subject of LMS. Thanks to all who mastered to the end!