Welcome! Log In Create A New Profile

Advanced

Basic nginx and rtmp setup

Posted by nalig 
Basic nginx and rtmp setup
September 12, 2017 08:48PM
Hi,

I am trying to setup nginx server where it will take video stream as input and re stream it using rtmp. This is my first time doing it and right now I am stuck as stream is not working.

Here's my nginx.config file:

rtmp {
server {
listen 1935;
chunk_size 4000;

application live {
live on;
pull rtmp://95.211.205.206/vod/sample.f4v name=test;
allow play all;
}
}
}

Now after that I try to open following in VLC player but streaming doesn't work.
rtmp://My_Server_IP/live/test

If you open the pull URL given above in VLC then it will work. Can you please check and let me know what's wrong in my code above?

The idea is simple. Take input stream and re stream it as it is.
Re: Basic nginx and rtmp setup
September 13, 2017 10:23AM
Any update guys?
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 187
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready