Welcome! Log In Create A New Profile

Advanced

nginx-rtmp

Posted by majid1984 
nginx-rtmp
July 28, 2020 10:38AM
hi - i am completely new to rtmp and nginx and ubuntu
i just want to use a vps to restream my stream to multiple site like twitch, youtube etc...
it worked fine for me but recently my main streaming website aparat.com change his system and they don't take push command in /usr/local/nginx/conf/nginx.conf
i used this :
application live {
live on;
record off;
push rtmp://live.cdn.asset.aparat.com:443/event/<stream key>;
}
and it work fine with twitch or youtube or mixer but it won't work with aparat.com

don't know why they give me this instead and tell me to use it :

application live {
live on;
record off;
hls off;
dash off;
wait_key on;
exec_publish ffmpeg -i rtmp://127.0.0.1/live/name -async 1 -vsync 1 -c copy -f flv "rtmp://rtmp.cdn.asset.aparat.com:443/event/<stream key>";
}

when i start streaming i get no stream on site.
should i change anything beside <stream key> on the line i highligh?
should i install anything on my ubuntu 18.04.4?

please just consider i have no idea about anything there and i just cope paste codes...



Edited 1 time(s). Last edit at 07/28/2020 10:48AM by majid1984.
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 93
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready