|Overwatch Latino Amazing Lucio Skills PC Alexjalisco|

Channel:
Subscribers:
260
Published on ● Video Link: https://www.youtube.com/watch?v=UIpBdZ7E-28



Overwatch
Game:
Overwatch (2016)
Duration: 2:20:20
4 views
0


***************************************************
ffmpeg
***************************************************
sudo apt-get install ffmpeg

Note: The apt-add-repository command may not be installed in some cases. To install it run sudo apt-get install software-properties-common.

We gave the world permission to execute ffmpeg with:

sudo chmod -R 755 /usr/bin/ffmpeg

**********************************************
NGINX
**********************************************
Log into your box, and make sure you have the necessary tools to build nginx using the following command:

$ sudo apt-get install build-essential libpcre3 libpcre3-dev libssl-dev

*********
*********

Ahora sigue Compilarlos, es sencillo:

From your home directory, download the nginx source code:

$ wget http://nginx.org/download/nginx-1.13.1.tar.gz
****
****
depues agregamos el modulo RTMP

$ wget https://github.com/arut/nginx-rtmp-module/archive/master.zip
****
****
UNZIP y UNPACKEARLOS

$ tar -zxvf nginx-1.13.1.tar.gz
$ unzip master.zip
$ cd nginx-1.13.1
****
****
Ahora Construimos nuestro NGINX

$ ./configure --with-http_ssl_module --add-module=../nginx-rtmp-module-master
$ make
$ sudo make install
****
****

Ya que esta intalado, por default en /usr/local/nginx , asi que para iniciarlo ejecutamos el siguietne comando


$ sudo /usr/local/nginx/sbin/nginx
para detenerlo
$ sudo /usr/local/nginx/sbin/nginx -s stop

****
****
Ahora abrimos nuestro archivo de Configuracion

sudo nano /usr/local/nginx/conf/nginx.conf

hasta la parte de al final
***
***
archivo config
***
***
rtmp {
server {
listen 1935;
chunk_size 4096;

application live {
live on;
record off;
exec /usr/bin/ffmpeg -i rtmp://localhost/live -c copy -f flv rtmp://localhost/recoded;
}

application recoded {
live on;
record off;

push rtmp://localhost:3128/rtmp/YOURRTMPKEYHERE;
push rtmp://us-central.restream.io/live/YOURRTMPKEYHERE;
}
}
}
************
Fin de Nginx
************
*****************************************************
*****************************************************
STUNNEL SSL TUNNEL
*****************************************************
*****************************************************
Instalar:
sudo apt-get install stunnel4

REPALDAR POR SI ACASO:
sudo cp /usr/share/doc/stunnel4/examples/stunnel.conf-sample /etc/stunnel/stunnel.conf
****
****
EDITAR

sudo nano /etc/default/stunnel4

Poner ENABLE=1
****
****
Agregar archivo de Configuracion
(cuidado con presionar las flechas en el VI)

sudo nano /etc/stunnel/stunnel.conf
sudo vi /etc/stunnel/stunnel.conf

para el VI EDITOR,la tecla "I" es para insertar, ya que termines, presiona ESCAPE, y luego SHIFT "Ñ" (eñe) y escribe "X" y luego da enter
**************************************


***********************************

Config Recomendada


setuid = stunnel4
setgid = stunnel4
pid= /tmp/stunnel.pid
output = /var/log/stunnel4/stunnel.log
;pid = /var/run/stunnel.pid
;output = /var/log/stunnel.log

[fb-live]
client = yes
accept = 127.0.0.1:3128
connect = live-api-s.facebook.com:443
cert = /home/propietario/stunnel.pem

*********************************

Config Recomendada


setuid = stunnel4
setgid = stunnel4
pid= /tmp/stunnel.pid
output = /var/log/stunnel4/stunnel.log
;pid = /var/run/stunnel.pid
;output = /var/log/stunnel.log

[fb-live]
client = yes
accept = 127.0.0.1:3128
connect = live-api-s.facebook.com:443
cert = /home/propietario/stunnel.pem

************************************

Generaremos el Certificado PEM con el OpenSSL con el siguiente comando:

sudo openssl req -new -out stunnel.pem -keyout stunnel.pem -nodes -x509 -days 1095

El PEM se va a generar en HOME con diagonal y el nombre de tu usuario que tengas (home/nombredetuusuario/stunnel.pem)


**********************************
Reiniciar STUNEL


sudo /etc/init.d/stunnel4 stop
sudo /etc/init.d/stunnel4 start
sudo /etc/init.d/stunnel4 restart

*****************************
Cambiar esto por esto en el NGINX

push rtmp://127.0.0.1:3128/rtmp/[your_facebook_stream_key];
push rtmp://127.0.0.1:3128/rtmp/[your_facebook_stream_key];

******************************


LISTO







Other Statistics

Overwatch Statistics For Godin Gamer

Godin Gamer presently has 1,096 views for Overwatch across 307 videos, accounting for over 14 days of watchable video on his channel. This is 5.06% of the total watchable video for Overwatch on Godin Gamer's YouTube channel.