Question / Help VLC can't play back when I try to connect it to the Ngix / HLS port in Windows 10

ziomario

New Member
I'm trying to do HLS streaming with NGINX + OBS on WIndows 10 following this video tutorial on youtube :

https://www.youtube.com/watch?v=Y-9kVF6bWr4

I'm trying to do HLS streaming with NGINX + OBS on WIndows 10 following this video tutorial on youtube :


I don't know what's wrong with the configuration ,but VLC can't connect to localhost:8080 when I want to play back the streaming. Here I want to synthesize what I'm sure that it is working now :

1) the *.ts and the m3u8 files are produced inside the folder /nginx/hls
2) on the OBS stream panel I have configured the server with : rtmp://192.168.1.6:1935/live/ ; stream key = 1234
3) again in OBS I have included a media source with input : rtmp://192.168.1.6:1935/live/ and input format = rtmp
4) the rtmp server part inside the nginx file is something like this :

rtmp {
server {
listen 1935;
chunk_size 4000;
application live {
live on;
hls on;
hls_path /nginx/hls/;
hls_fragment 3;
#hls_playlist_lenght 60;
deny play all;
}
}
}

5) the web server part inside the nginx file is something like this :

server {
listen 8080;
server_name localhost;

location /stat {
rtmp_stat all;
rtmp_stat_stylesheet stat.xsl;
}
location /stat.xsl {
root nginx-rtmp-module/;
}
location /control {
rtmp_control all;
}


6) on VLC I try to open this URL : http://192.168.1.6:8080/hls/1234.m3u8 , but it says that it can't connect to this URL. So,what's wrong ? I have attached also some screenshots that u can find here : nginx - Google Drive
 
Top