Question / Help Problem with DNS

abel

New Member
Hi all!
I am doing a proyect with NGINX and OBS, and im getting crazy looking for this error
upload_2014-11-18_14-33-4.png


I am using my own server (Ubuntu 14.04.1 LTS ) and i configure NGINX with default cfg, adding this:

rtmp {
server {
listen 1935;
chunk_size 4096;

application live {
live on;
record off;
exec ffmpeg -i rtmp://localhost/live/$name -threads 1 -c:v libx264 -profile:v baseline -b:v 350K -s 640x360 -f flv -c:a aac -ac 1 -strict -2 -b:a 56k rtmp://localhost/live360p/$name;
}
application live360p {
live on;
record off;
}
}
}

I hope you can help me with this!

Thanks so much!
Greetings
 

Xphome

Member
I use that to log in PUTTY ;(
You're not supposed to specify a username to the RTMP server. rtmp://streamer.lv.inf.uva.es/live/something is enough, "something" being something you choose (I use live there too)

EDIT: Unless you have a firewall blocking, anyone can stream to your server. You can either limit publishing to your IP or you can set up a page to use a streamkey like Twitch (I'll see if I can find the guide for you).

EDIT2: Here http://www.helping-squad.com/nginx-rtmp-secure-your-nginx-server/
 
Last edited:

abel

New Member
OK! Now im using this:
rtmp://streamer.lv.inf.uva.es:XXXX/live/
Where XXXX is the port of the server and it dosnt work too
It gives me this error: i cant connect to the server. There was an interruption with the server conexion
upload_2014-11-18_16-41-1.png

As is said, the configuration is a normal one
Maybe it can helps :)
 

abel

New Member
I have fixe it, and now i stream perfectly!! :D
My error was to change port inside nginx.cfg to my server ones... i just setup with default cfg adding rtmp{...}
Then when i use OBS i put rtmp://.......:rtmp port/ and no more... Much more easy than i thought
Still, Its not easy for noobs in streaming :P
But thanks soo much!
 
Top