nginx-rtmp实现推流播放鉴权

2020-02-21  本文已影响0人  往后余生9375
rtmp {
    server {
        listen 1935;
        application myapp {
            live on;
            #record keyframes;
            #record_path /tmp;
            #record_max_size 128K;
            #record_interval 30s;
            #record_suffix .this.is.flv;

            #on_publish http://localhost:8080/publish;
            #on_play http://localhost:8080/play;
            #on_record_done http://localhost:8080/record_done;

       }
       application hls {
             live on;
             hls on;
             hls_path /srv/nginxhls/app;
           hls_fragment 5s;
       }
    }
}

上一篇下一篇

猜你喜欢

热点阅读