Answer the question
In order to leave comments, you need to log in
Nginx rtmp module hls being created but not available?
NGINX CONF:
worker_processes 1;
events {
worker_connections 1024;
}
rtmp {
server {
listen 1935;
application live {
live on;
interleave on;
hls on;
hls_path /stream/hls;
hls_fragment 15s;
}
}
}
http {
default_type application/octet-stream;
add_header 'Access-Control-Allow-Origin' '*' always;
add_header 'Access-Control-Expose-Headers' 'Content-Length';
server {
listen 80;
location /tv {
root /stream/hls;
}
}
types {
application/vnd.apple.mpegurl m3u8;
video/mp2t ts;
text/html html;
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question