Install OpenMeetings


Hits: 9802  

OpenMeetings – An Open Source Web Conferencing Solution that share microphone or webcam, share documents on a white board, share your screen or record meetings.

Install Development Tools

# yum groupinstall “Development Libraries” -y
# yum groupinstall “Development Tools” -y

IPTables – Make sure the following firewall ports are open
1935 (RTMP), 8088 (RTMP-Over HTTP), 5080 (HTTP), 4445 (Desktop Sharing), 8443 (RTMP over SSL)

iptables -A INPUT -p tcp -m tcp –dport 1935 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 8088 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 5080 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 4445 -j ACCEPT
iptables -A INPUT -p tcp -m tcp –dport 8443 -j ACCEPT

# yum update

Edit MySQL config file: /etc/my.cnf, add multi-language(Chinese) support
[mysqld]
default-character-set=utf8
default-collation=utf8_general_ci
character-set-server=utf8
collation-server=utf8_general_ci
init-connect=’SET NAMES utf8′

[client]
default-character-set=utf8

[root@server3 ~]# java -version
java version “1.6.0_20”
OpenJDK Runtime Environment (IcedTea6 1.9.10) (rhel-1.23.1.9.10.el5_7-x86_64)
OpenJDK 64-Bit Server VM (build 19.0-b09, mixed mode)

Firewall configuration

http://wiki.centos.org/HowTos/SELinux

Security Level: Disabled
SELinux: Disabled

# sestatus

System servcies
………………………..

# ps aux | grep ‘service’

apmd
auditd
autofs
avahi-daemon
bluetooth
cpuspeed
cups
firstboot
gpm
hidd
ip6tables
iptables
irqbalance
mcstrans
mdmonitor
microcode_ctl
netfs
nfslock
pcscd
portmap
restorecond
rpcidmapd
rpcsvcgssd
sendmail
smartd
xfs
yum-updatesd

# rpm -Uhv http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm

# vi /etc/rc.local

/usr/lib64/openoffice.org3/program/soffice “-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager” -nologo -headless -nofirststartwizard &

# 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 gcc gcc-c++

# yum groupinstall ‘Office/Productivity’
# yum install openoffice.org-headless

# rpm -e –nodeps ghostscript ghostscript-devel

Install GhostScript

# cd /usr/src
# wget http://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

Install LAME

# cd /usr/src
# wget http://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

Install SWFTools

# cd /usr/src
# wget http://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

Install ImageMagick

# cd /usr/src
# wget ftp://ftp.imagemagick.org/pub/ImageMagick/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

Install FFmpeg

# cd /usr/src
# svn checkout svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
# cd ffmpeg
# ./configure –enable-libmp3lame –enable-postproc –enable-gpl –enable-pthreads –enable-avfilter –prefix=/usr
# make all
# make install

Install SOX

# cd /usr/src
# wget http://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

Download OpenMeetings package

# cd /usr/src
# wget http://openmeetings.googlecode.com/files/openmeetings_1_6_2_r3675.zip
# unzip openmeetings_1_6_2_r3675.zip -d om

# cd /usr/src/om/red5/webapps/openmeetings/conf
# cp mysql_hibernate.cfg.xml hibernate.cfg.xml (add mysql password)

mysql> create database openmeetings;

# cd /usr/src/om/red5
# nohup ./red5.sh &

# nohup /usr/lib64/openoffice.org3/program/soffice “-accept=socket,host=localhost,port=8100;urp;StarOffice.ServiceManager” -nologo -headless -nofirststartwizard &

http://SERVER_IP_ADDRESS:5080/openmeetings/install

Errors:

NetConnection.Call.Failed rtmpt://localhost:8088/openmeetings/hibernate

Live Camera Streaming With Flash Media Encoder & Red5


Hits: 18205  

Download Adobe Flash Media Live Encoder 3.2 for live audio and video capture and encoder streams in real time.

Live video stream event for online Temple or Church

Install Red5 1.0 RC1 on CentOS Latest

We enable customers with advanced capabilities to manage, deliver and monitor audio, video, and multimedia content over the Internet using Red5 Media Streaming Server. Streaming Media Services includes Hosting’s proprietary technologies and robust online management tools, to provide customers with a level of simplicity, and features unparalleled in the Industry.

Services Offered

* Install, Configure and Secure Red5 on Cloud Servers
* Install Red5 on CentOS Latest
* VOD to iOS
* Red5 Media Server iOS Android Setup
* Record Audio from Websites
* Red5 Recorder for WordPress
* Configure VideoWhisper in Drupal
* Install OpenMeetings
* Live Camera Streaming With Flash Media Encoder & Red5

Install Red5 1.0 on CentOS Latest


Hits: 27978  

1. Install Java

# yum -y install java-1.6.0-openjdk java-1.6.0-openjdk-devel

2. Install Ant

# cd /usr/local/src
# wget http://red5.svnlabs.com/apache-ant-1.8.2-bin.tar.gz
# tar zxvf apache-ant-1.8.2-bin.tar.gz
# mv apache-ant-1.8.2 /usr/local/ant

3. Export path for Ant and Java

Make sure you have right paths (java, ant etc.) on your server, I have used 32-bits CentOS server … home path might be different on 64-bits or other server 😉

# export ANT_HOME=/usr/local/ant
# export JAVA_HOME=/usr/lib/jvm/java
# export PATH=$PATH:/usr/local/ant/bin
# export CLASSPATH=.:$JAVA_HOME/lib/classes.zip

Also add these lines in /etc/bashrc at last to available every-time logged in to SSH

4. Install SVN

# yum install subversion

5. Install RED5 Server

# cd /usr/local/src
# svn checkout http://red5.googlecode.com/svn/java/server/trunk/ red5
# mv red5 /usr/local/
# cd /usr/local/red5
# ant prepare
# ant dist

6. Copy Red5 files

# cp -r dist/conf /usr/local/red5

7. Test Run

# sh red5.sh

ctrl + z

You need to allow port 5080 and 1935 to your server firewall.

# iptables -A INPUT -p tcp -m tcp –dport 5080 -j ACCEPT
# iptables -A INPUT -p tcp -m tcp –dport 1935 -j ACCEPT

Red5 Server Status

# netstat -anp | grep 5080
# ps aux | grep red5

http://yourserver.com:5080/

If you have CentOS 64-bits server and you are getting error like

– Buildfile: build.xml does not exist!
– BUILD FAILED
– Cannot allocate memory

You might need to checkout modified files
# cd /usr/local/src
# svn co http://red5.googlecode.com/svn/java/server/tags/1_0/ red5

Build Failed (Life saver)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Cannot run program “chmod”: java.io.IOException: error=12, Cannot allocate memory

# export _JAVA_OPTIONS=’-Xms32m -Xmx56m -Xss128k -XX:PermSize=32m -XX:MaxPermSize=64m’
# export ANT_OPTS=’-Xms32m -Xmx56m -Xss128k -XX:PermSize=32m -XX:MaxPermSize=64m’

Try solution here… http://code.google.com/p/red5/issues/detail?id=337

How to install Red5 Demos?

# cd /usr/local/red5/webapps/root
# svn checkout http://red5.googlecode.com/svn/java/server/tags/0_9_1/webapps/root/demos/

Then go to http://yourserver.com:5080/demos/

Please check all comments below for more help 😉

Install Red5Chat


Hits: 8938  

Red5 Media Server is free solution for audio/video streaming. Red5chat is a free video chat plugin for Red5.

Flash Part
————–

Edit the FLA red5Chat.fla and configure these lines:

_root.IP = “xx.yyy.xx.zzz”;
_root.port=1935;

_root.authentificateURL = “http://”+_root.IP+”/red5chat/testlogin.php”;
_root.infoUserURL=”http://”+_root.IP+”/red5chat/infouser.php”;

PHP part
————-

If you use the AUTHENTIFICATION (_root.authentification=true):
– Create tables form create_tables.sql
– edit the PHP/connections folder and setup con1.php to connect the database

RED5 part
—————

– create the chat directory on c:\program files\red5\webapps\
– compile the JAVA and put the classes
– copy “chat” directory to “webapps” of your Red5.
– Restart your Red5.

Example: /usr/share/red5/webapps or /usr/local/red5/webapps

Source:

http://sourceforge.net/projects/freered5chat/files/

BigBlueButton – Copyright Labels


Hits: 4427  

BigBlueButton is an open source web conferencing system for distance education.

BigBlueButton API in PHP can be used to integrate BBB in PHP websites or Applications.

Google Code for BBB | BigBlueButton — Open Source Web Conferencing

Main file for BigBlueButton Configurations

BBB-bigbluebutton.properties

Simple steps:

# cd xxx/BigBlueButton-client
# ant localization

the command will compile the src/locale, to different swf file, take en_US for example

in src/locale there is another folder named en_US
in this folder you will see a properties file named bbbResources.properties

every time you want to change something in this file, just edit it as your willing, then use ant localization, it will make the en_US_resources.swf

just copy this file to the var/www/bigbluebutton/locale 😉

bbb.mainshell.copyrightLabel2 = (c) 2011, BigBlueButton build {0} – For more information see http://www.bigbluebutton.org/.

BBB-FlashBuilder

#----------------------------------------------------
# Default welcome message to display when the participant joins the web
# conference. This is only used for the old scheduling which will be
# removed in the future. Use the API to create a conference.
defaultWelcomeMessage=<br>Welcome to MyBBB.com.<br><br>For help <a href="event:http://mybbb.com/support/"><u>click here</u></a>.<br><br>

#—————————————————-
# This URL is where the BBB client is accessible. When a user sucessfully
# enters a name and password, she is redirected here to load the client.
bigbluebutton.web.serverURL=http://xxx.xxx.yyy.yyy:81

#—————————————————-
# Assign URL where the logged-out participant will be redirected after sign-out.
# If commented-out, it returns to bigbluebutton.web.serverURL
bigbluebutton.web.logoutURL=http://www.mybbb.com/chat_logout.php

After All Modifications just restart BBB 😉

# bbb-conf –restart

Other Links:

https://github.com/bigbluebutton/bigbluebutton
http://code.google.com/p/bigbluebutton/wiki/DevelopingBBB

BigBlueButton API in PHP


Hits: 12211  

BigBlueButton -- Open Source Web Conferencing

BigBlueButton supports sharing of slides (PDF and PPT), video, whiteboard, chat, voice (using Asterisk or FreeSWITCH), and desktops. It’s built using over many open source components, runs on Mac, Unix, and PC computers, and is supported by a community that cares about good design and a streamlined user experience.

BigBlueButton is built using the following open source components:

Ubuntu, Flex SDK, Ghostscript, Grails, ActiveMQ, Asterisk, Image Magick, MySQL, nginx, Red5, swf Tools, Tomcat, Asterisk Java, Xuggler, Open Office…

BBB is available on Google Code

BigBlueButton is an open source web conferencing system that enables universities and colleges to deliver a high-quality learning experience to remote students.

See examples of how you can integrate BigBlueButton into your applications.

Create Your Own Meeting


<?php

$IP ‘yy.yy.xx.xxx’;  // Server IP where BigBlueButton (BBB) Installed

$Port 81;  // Server port to BBB i.e. 81

// Method: create – To create meeting

$string “createname=Test+Meeting&meetingID=accounts123&attendeePW=accounts123&moderatorPW=accounts123”;

$salt “XYBGDRYUOPLJMAWDGNHYDFFGHGJJ435D”;  // security salt for BBB & API

$sha sha1($string.$salt);

$link “name=Test+Meeting&meetingID=accounts123&attendeePW=accounts123&moderatorPW=accounts123&checksum=”.$sha;

?>

<a href=”http://<?php echo $IP?>:<?php echo $Port?>/bigbluebutton/api/create?<?php echo $link?>“>Create Meeting</a><br><br>

<?php

// Method: join – To join meeting

$string “joinfullName=Joe+User&meetingID=accounts123&password=accounts123”;

$salt “XYBGDRYUOPLJMAWDGNHYDFFGHGJJ435D”;

$sha sha1($string.$salt);

$link “fullName=Joe+User&meetingID=accounts123&password=accounts123&checksum=”.$sha;

?>

<a href=”http://<?php echo $IP?>:<?php echo $Port?>/bigbluebutton/api/join?<?php echo $link?>“>Join Meeting</a><br><br>

<?php

// Method: join – To join meeting as username

$string “joinfullName=Sandeep&meetingID=accounts123&password=accounts123”;

$salt “XYBGDRYUOPLJMAWDGNHYDFFGHGJJ435D”;

$sha sha1($string.$salt);

$link “fullName=Sandeep&meetingID=accounts123&password=accounts123&checksum=”.$sha;

?>

<a href=”http://<?php echo $IP?>:<?php echo $Port?>/bigbluebutton/api/join?<?php echo $link?>“>Join Meeting as sandeep</a><br><br>

<?php

// Method: isMeetingRunning – To check meeting is active/running

$string “isMeetingRunningmeetingID=accounts123”;

$salt “XYBGDRYUOPLJMAWDGNHYDFFGHGJJ435D”;

$sha sha1($string.$salt);

$link “meetingID=accounts123&checksum=”.$sha;

?>

<a href=”http://<?php echo $IP?>:<?php echo $Port?>/bigbluebutton/api/isMeetingRunning?<?php echo $link?>“>Check Meeting Running</a><br><br>

Create Your Own Meeting Link

Checkout other article “BigBlueButton on CentOS”

Download BBB.zip

SIP Web Phone


Hits: 20050  

SIP Phone service which lets you use your SIP account anywhere in the world via their web based SIP service. The good thing is they already have a few popular SIP services pre-configured, so you don’t even have to configure their SIP.

SIP (Session Initiation Protocol) is the most popular Voice over IP (VoIP) standard. SIP enables two or more people to make phone calls to each other using the Internet to carry the call.

A good quality sip provider will allow for pristine call quality and minimal drops.

Using Flex, Java and Red5 Server we can develop Web Sip Application. The main advantage of these phone is no need to install at client side. Simply we can browse application and we can register and make call.

Asterisk. Digium’s open source communications engine powers voice and video communication solutions worldwide. Discover the power of Asterisk, let us help you choose the right Asterisk solution.

Click2Call is a service that provides users of your websites to make calls from your website and leave voicemails for you by simply clicking a button.

Free Call - Free International Calls & Free VoIP Service. Internet phone calls - free VoIP, call PC to phone over Internet telephony

TringMe also provides a complete ecosystem wherein VoIP providers, Service providers, Enterprises, Developers and End-users can play. An ecosystem which can cater to developing innovative applications that integrate Voice and Telephony without worrying about the underlying details of call routing and signalling.

TringMe - Web based Telephony

Twilio Voice
Build applications that use the phone network to interact with people on landlines and cell phones all over the world. In just a few lines of code, you’ll have phones ringing.

Twilio - Build Scalable Voice, VoIP and SMS Applications in the Cloud

PHPVoice

Build voice enabled applications directly in PHP.

VoicePHP - PHP For Voice

Doddle Web Phone

Online SIP WebPhone-Click2Call Doddle - VoIP call from webpage public telephone

Make VoIP calls anywhere in the world via Doddle web based SIP phone directly from your webpage.
Public Internet Telephone: With the free, online, no registration Doddle phone service, VoIP is as easy as accessing a webpage: just start using!
It’s a Doddle.

Linphone is an internet phone or Voice Over IP phone (VoIP).

Linphone, open-source voip software - Linphone, an open-source video sip phone

* Linphone can be used for communicating freely with people over the internet, with voice, video, and text instant messaging.
* Linphone makes use of the SIP protocol , an open standard for internet telephony. You can use Linphone with any SIP VoIP operator, including our free SIP audio/video service.
* Linphone is free-software (or open-source), you can download and redistribute it freely.
* Linphone is available for desktop computers: Linux, Windows, MacOSX, and for mobile phones: Android, iPhone, Blackberry.

OpenSIPS (Open SIP Server) is a mature Open Source implementation of a SIP server. OpenSIPS is more than a SIP proxy/router as it includes application-level functionalities. OpenSIPS, as a SIP server, is the core component of any SIP-based VoIP solution. With a very flexible and customizable routing engine, OpenSIPS ‘unifies voice, video, IM and presence services in a highly efficient way, thanks to its scalable (modular) design.

OpenSIPS feature:
* SIP registrar server
* SIP router / proxy (lcr, dynamic routing, dialplan features)
* SIP redirect server
* SIP presence agent
* SIP back-to-back User Agent
* SIP IM server (chat and end-2-end IM)
* SIP to SMS gateway (bidirectional)
* SIP to XMPP gateway for presence and IM (bidirectional)
* SIP load-balancer or dispatcher
* SIP front end for gateways/asterisk
* SIP NAT traversal unit
* SIP application server

Cipango is a SIP Servlets extension to the popular Jetty HTTP Servlet engine. Cipango/Jetty is then a convergent SIP/HTTP Application Server compliant with both SIP Servlets 1.1 and HTTP Servlets 2.5 standards. It also features a Diameter extension to develop IMS applications.

slider_1

OpenVBX allows developers to build voice and SMS applications for business, such as toll free phone numbers, call forwarding, voicemail, visual voicemail, voicemail transcriptions, and auto-attendants. It’s like Google Voice, but open source and for business.

OpenVBX- the Web-based, Open Source Phone System for Business

OpenVBX- the Web-based, Open Source Phone System for Business1

FreeSWITCH is a scalable open source cross-platform telephony platform designed to route and interconnect popular communication protocols using audio, video, text or any other form of media. FreeSWITCH also provides a stable telephony platform on which many telephony applications can be developed using a wide range of free tools.

Record Audio from Websites


Hits: 12235  

Flex is a platform for developing and deploying Applications that run on Flash player on Web using Red5 Server.

Flex / Red5 applications are compiled to SWF files and are executed at runtime by Adobe Flash Player.

Red5-Recorder

Open source Red5 video flex flash recorder and player project allows you to insert a red5 / flex module to do it directly from your website. Uses Flex and red5. Videos are stored as FLV streams and can be playable and reviewed from this project within flash player. 2 modes are visible: recorder mode and player mode. All other parameters can be defined through simple html script.

Record, Visualize & Save Microphone Input

Record, Visualize & Save Microphone Input - makemachine

MicrophoneCapture, MicrophoneInput, InputRenderer, WavEncoder are some basic classes to record audio from microphone.

Create a Useful Audio Recorder App in ActionScript

Create a Useful Audio Recorder App in ActionScript 3 - Activetuts+

The MicRecorder class is a great addition to ActionScript 3, be sure to bookmark this article. 😉

Barebones Audio Recorder

Client-side audio capture and conversion to MP3.

This recorder captures user audio, converts to MP3 format on the client side, then uploads to the server.

Barebones Audio Recorder

Flash-based interface
Barebones Audio Recorder1

Sample HTML-based interface
Barebones Audio Recorder2

Red5 record audio with the Flash plugin

Other Links:
http://www.sajithmr.me/jrecorder-jquery
http://flvar.com/documentation
http://labs.makemachine.net/2011/04/record-visualize-save-microphone-input/