Galizzi Victor,
Khalfaoui Hassani Ismail,
Puig Martin,
Sun Christophe.
mkdir ~/build && cd build/
git clone git://github.com/arut/nginx-rtmp-module.git
wget https://nginx.org/download/nginx-1.15.12.tar.gz
tar -xzvf nginx-1.15.12.tar.gz
rm nginx-1.15.12.tar.gz
wget https://www.openssl.org/source/openssl-1.1.1b.tar.gz
tar -xzvf openssl-1.1.1b.tar.gz
rm openssl-1.1.1b.tar.gz
mkdir ~/nginx
cd nginx-1.15.12
./configure --prefix=$HOME/nginx --with-openssl=../openssl-1.1.1b --with-http_ssl_module --add-module=../nginx-rtmp-module
make (takes few minutes)
make install (takes few minutes)
change conf/nginx.conf by the conf present in the repo -> mv git/nginx.conf ~/nginx/conf
create a dir in /tmp called hls and under it hls/live -> mkdir -p "/tmp/hls/live1" "/tmp/hls/live2" "/tmp/hls/live3" "/tmp/hls/live4" "/tmp/hls/live5"
~/nginx/sbin/nginx
~/nginx/sbin/nginx -s stop
~/nginx/sbin/nginx -s reload
deploy war file on EAP/standalone/deployments and run EAP/bin/standalone on localhost:8080
run nginx -> ~/nginx/sbin/nginx (as in the conf it will be ran in localhost:8081)
firefox http://localhost:8081/stream-player
rm -rf ~/build