Nginx-rtmp-module
De MochilaWiki
Revisão de 18h53min de 14 de setembro de 2014 por Banto Palmarino (discussão | contribs) (Criou página com '<source lang="bash"> apt-get install libgd2-noxpm build-essential devscripts ffmpeg debian-keyring apt-get build-dep nginx apt-get source nginx dpkg-source -x nginx_1.2.1-2.2+...')
apt-get install libgd2-noxpm build-essential devscripts ffmpeg debian-keyring
apt-get build-dep nginx
apt-get source nginx
dpkg-source -x nginx_1.2.1-2.2+wheezy2.dsc
wget https://github.com/arut/nginx-rtmp-module/archive/v1.1.2.tar.gz
tar xvzf v1.1.2.tar.gz
mkdir nginx-1.2.1/debian/modules/nginx-rtmp-module
cp -r nginx-rtmp-module-1.1.2/* nginx-1.2.1/debian/modules/nginx-rtmp-module
em nginx-1.2.1/debian/rules abaixo de
--add-module=$(MODULESDIR)/nginx-dav-ext-module \ coloque
--add-module=$(MODULESDIR)/nginx-rtmp-module \
em nginx-1.2.1/debian/source/include-binaries acrescente
debian/modules/nginx-rtmp-module/test/rtmp-publisher/RtmpPlayer.swf debian/modules/nginx-rtmp-module/test/rtmp-publisher/RtmpPublisher.swf debian/modules/nginx-rtmp-module/test/rtmp-publisher/RtmpPlayerLight.swf debian/modules/nginx-rtmp-module/test/www/bg.jpg debian/modules/nginx-rtmp-module/test/www/jwplayer_old/player.swf debian/modules/nginx-rtmp-module/test/www/jwplayer/jwplayer.flash.swf
e depois
cd nginx-1.2.1/
dpkg-buildpackage -rfakeroot -b
cd /usr/src/
dpkg -i nginx-full_*.deb nginx-common_*.deb