Skip to content

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

Clone this wiki locally