on Apache2018-04-27T00:53:34+00:00

Install server module

1. Installation on Ubuntu/Debian Linux

Install apxs

# apt-get install apache2-threaded-dev

Build and install the module with apxs

# apxs2 -aic mod_airbroad.c

Configure the Apache server

# echo "AddHandler file-stream .flv .mp4" >> /etc/apache2/mods-available/airbroad.load

Restart the Apache server

# service apache2 restart

2. Installation on RedHat/CentOS/Fedora Linux

Install apxs

# yum install httpd-devel libtool

Build and install the module with apxs

# apxs -aic mod_airbroad.c

Configure the Apache server

# echo "AddHandler file-stream .flv .mp4" >> /etc/httpd/conf/httpd.conf

Restart the Apache server

# service httpd restart

Embed web player in your websites

Download web player to DocumentRoot of your web server.
You can test whether streaming works by using HTML embed tag.
Create a test.html file with the following contents:

<div align="center">
<embed src="http://yoursiteaddress/player_beta.swf" type="application/x-shockwave-flash" width="1280" height="720" allowfullscreen="true" flashvars="media=http://yoursiteaddress/test.mp4"></embed>
</div>

Upload your vidoes

If you prepared multi resoultion copies of video, upload your files using suffixes.
Here is an example :

test.mp4
test_540p.mp4
test_360p.mp4
test_240p.mp4

Test

Open your web browser and type the url : http://yoursiteaddress/test.html