Streaming de FLV no Apache/Ubuntu

1. Faça o download do módulo flv para o apache clicando aqui(mod_flvx.c) .

2. Instale o prefork do apache para compilar o módulo:
apt-get install apache2-prefork-dev
apxs2 -c -i ./mod_flvx.c
chmod 644 /usr/lib/apache2/modules/mod_flvx.so

3. Crie o arquivo /etc/apache2/mods-available/mod_flvx.conf com o seguinte conteúdo:
LoadModule flvx_module /usr/lib/apache2/modules/mod_flvx.so
AddHandler flv-stream .flv

4. Crie um link simbólido em /etc/apache2/mods-enable com o comando ln:
ln -s /etc/apache2/mods-available/mod_flvx.conf /etc/apache2/mods-enable

5. Restarte o apache
/etc/init.d/apache2 restart

Mais informações:
http://flowplayer.org/forum/5/14679
http://tperspective.blogspot.com/2009/02/apache-flv-streaming-done-right.html

[Click here to English]



Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s