Tagged: server

nginx-rtmp – How to use secure Links?

Today I want to quickly explain how to use the nginx http secure links module with nginx-rtmp. You will have to change your compilation process slightly first of all to add the module: –with-http_secure_link_module So my example compilation routine for Windows would look like this: auto/configure –with-cc=cl –builddir=objs –prefix= –conf-path=conf/nginx.conf –pid-path=logs/nginx.pid –http-log-path=logs/access.log –error-log-path=logs/error.log –sbin-path=nginx.exe –http-client-body-temp-path=temp/client_body_temp –http-proxy-temp-path=temp/proxy_temp –http-fastcgi-temp-path=temp/fastcgi_temp –http-uwsgi-temp-path=temp/uwsgi_temp –http-scgi-temp-path=temp/scgi_temp –with-cc-opt=-DFD_SETSIZE=1024 –with-pcre=objs/lib/pcre-8.34...

nginx-rtmp – Secure your nginx-Server

First of all, there are different options and methods available to secure your server. In this guide I will explain the “firewall” method by using the nginx.conf as well as a simple php script that checks the username and password you send on streaming. Other methods like htaccess, more complex php scripts or ways I cannot think of at the...

Do a Picture in Picture Stream with OBS and NGINX

In today’s tutorial I want to show you how to do a picture in picture stream with a friend (or more people). We will be using nginx compiled with the rtmp module, in this case the windows version will be sufficient. In this text guide I will explain two different setups. First the more simple setup, one output stream that...

nginx-rtmp – Autostart on boot

The autostart process of your nginx server mainly depends on two different factors: Linux or Windows installation which Linux distribution For Windows you have the option to install nginx as a service, or to just add it to your startup folder: https://github.com/InvGate/winginx Under Linux you will have to find a init file that fits to your distribution. For Ubuntu I...

nginx-rtmp – Compile for Windows

If you want to try nginx with the rtmp module you can build it yourself, but with the latest updates I actually had severe problems building it under Windows and was not able to get a working product. You can still try it yourself using the following guide. The nginx webserver can be compiled under Windows and other Operating Systems....

nginx-rtmp – Usage example / test

nginx-rtmp – Usage example / test

Now that we went through all the nginx setup and configuration stuff, its time to tell you about my experiences in using the software. I set up a test scenario. The video footage of Grid2 and BF3 could come either off a console or a PC. I am capturing this in Box1 with a capture card and save it as...

nginx-rtmp – Configuration and possible solutions

In the first guide for nginx-rtmp I already showed you a simple rtmp configuration. Of course you have a lot more options available using nginx on Linux. You can also build nginx for Windows, though the rtmp module is lacking one or two useful features like “exec” commandos for example. I will talk about this feature a little later. I...

nginx-rtmp – Compile and “install” under Linux

The nginx webserver is pretty lightweight and can be build with the addition of a rtmp-module. This module adds a whole “media server” to nginx. The feature list is pretty extensive and can be found here. I got help by dodgepong’s guide on the OBS forum, but I changed it very slightly and will add some parts. First of all I...