Open safinn opened 9 years ago
HLS viewing happens over 8080 (based on your conf)
http > server (listen 8080) > location /hls
so to view your stream, your URL would be http://ip:8080/hls/test.m3u8
@Safinn solved this problem ? it happened to me too, can't find m3u8 and ts file in hls_path.
@xxhhcc No I didn't manage to get this to work. I have got round to trying mvberg's suggestion.
You can try this: http{ server { listen 80; servername localhost 172.16.100.55; .... } }
So I installed NGINX and the RTMP MODULE on my mac in the usr/local/nginx location. RTMP stream works fine just not the HLS version. Here is my config file:
I am using the
hls
application to stream to. When I view the stream located atrtmp://ip:1936/hls/test
i can see it fine. When I try and viewhttp://ip:1936/hls/test.m3u8
I cannot see it. I created a folder in this location for hls/usr/local/nginx/tmp/hls
. Im wondering if this is in the right place as nothing is being created in the folder? Could it be permission issues?A similar issue is being had here: https://groups.google.com/forum/#!topic/nginx-rtmp/dBKh4akQpcs but no answer :(.
Any help is appreciated. Sorry if this is in the wrong location but wasn't sure where to go to get help. Thanks.