Download & Install First:
$ wget http://h264.code-shop.com/download/apache_mod_h264_streaming-2.2.7.tar.gz
$ tar -zxvf apache_mod_h264_streaming-2.2.7.tar.gz
$ cd mod_h264_streaming-2.2.7
$ ./configure
$ make
# make install
Edit /usr/local/apache/conf/httpd.conf
Add the following lines:
LoadModule h264_streaming_module /usr/local/apache/modules/mod_h264_streaming.so
AddHandler h264-streaming.extensions .mp4
Then restart your apache:
# /etc/init.d/httpd start
Make sure the module is loaded, you can check using command:
# /usr/local/apache/bin/apachectl -t -D DUMP_MODULES | grep h264_streaming_module
Now you can enjoy faster loading video on your site!
Reference:
http://blog.arnas.web.id/?p=197
There are 0 comments