DEV Community

Discussion on: How To Setup Nginx For HLS Video Streaming On Centos 7

littlerichard3755 profile image

Great article, I've been able to setup my server for streaming and able to livestream to the server and push to other platforms. I can also use VLC to view the live stream by, however I am not able to view the livestream with an embedded player on a website. Is it due to crossdomain or do I need an SSL certificate, or am I leaving something out. your assistance would be greatly appreciated.

terrancio profile image

"ffmpeg -i /path/to/video -c:v h264 -c:a aac -strict -2 -f flv rtmp://server_ip:1935/app/unique_stream_name #the name of the stream has to be unique "

When it says /Path/To/Video what exactly should I put there? because I chose a directory thinking it's where I was gonna save video files, but after I pressed Enter it appeared in Red "It is a directory" so... may you help me, please?