Forum Discussion

hovee's avatar
hovee
Brass Contributor
Apr 02, 2020

Unable to use NGINX RTMP Streaming Server with Stream

I'm trying to set up a NGINX RTMP on a VM to distribute a stream to multiple endpoints at the same time. I've successfully set up a stream from OBS to NGINX and then send it to Facebook and Youtube a...
  • hovee's avatar
    hovee
    Apr 05, 2020

    I was able to figure it out and get it to work. You get the following Server Ingest URL from Stream when you Start Setup of your video.

    rtmp://uniquecode-uniquecode2-usea.channel.media.azure.net:1935/live/uniquecode3

    You then need to split up the URL and have the first part of the URL with the port as the push, and then add app to the end with app=live/uniquecode3;

     

      push rtmp://localhost/custom;
    		}
    		# Custom RTMP Application
    		application custom {
    			live on;
    			record off;
    
    			# Only allow localhost to publish
    			allow publish 127.0.0.1;
    			deny publish all;
    
    			# Push URL with the Custom stream Ingest URL
    			push rtmp://uniquecode-uniquecode2-usea.channel.media.azure.net:1935 app=live/uniquecode3;
    		}
    	}

     

     

     

Resources