Push to RTMPS using NGINX and Stunnel



Push to RTMPS using NGINX and Stunnel

Push to RTMPS using NGINX and Stunnel

Use NGINX to push your RTMP stream to an RTMPS only service such as Facebook. Multistreaming.

Links:
Written instructions: https://docs.google.com/document/d/1bUp_LNgKUJi0e4_aMYEEzrWyESuGI00Wu0cWh5wlLx0/edit?usp=sharing
NGINX download: https://github.com/illuspas/nginx-rtmp-win32
Stunnel download: https://www.stunnel.org/downloads.html
MSVCR100.dll is missing then donwload…: http://www.microsoft.com/de-de/download/details.aspx?id=8328 (x86) and http://www.microsoft.com/en-us/download/details.aspx?id=13523 (x64)

Code:
Section for NGINX.conf –

rtmp {
server {
listen 1935;
chunk_size 4096;

application live {

live on;
record off;
}
}
}

Push command thing for FACEBOOK RTMPS –

push rtmp://127.0.0.1:19350/rtmp/your_facebook_stream_key;

Push command thing for RTMP –

push rtmp://rtmp_address_thing/your_stream_key;

Section for Stunnel conf –

[fb-live]
client = yes
accept = 127.0.0.1:19350
connect = live-api-s.facebook.com:443
verifyChain = no

OBS custom streaming service URL –

rtmp://127.0.0.1/live

Comments are closed.