-
Notifications
You must be signed in to change notification settings - Fork 30
Nginx streaming
Mark Van den Borre edited this page Oct 2, 2016
·
7 revisions
Nginx rtmp config (to be included in nginx.conf, top level). The url would be rtmp://server/st/STREAMNAME. This does not have auth.
rtmp_auto_push on;
rtmp {
server {
listen 1935;
application st {
live on;
hls on;
hls_path /home/stream/hls;
dash on;
dash_path /home/stream/dash;
drop_idle_publisher 20s;
}
}
}##Notes
- We want to record the incoming stream, so some recording related directives needed https://github.com/arut/nginx-rtmp-module/wiki/Directives#record.