美文网首页
nginx-rtmp实现推流播放鉴权

nginx-rtmp实现推流播放鉴权

作者: 往后余生9375 | 来源:发表于2020-02-21 13:32 被阅读0次
    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;
           }
        }
    }
    
    

    相关文章

      网友评论

          本文标题:nginx-rtmp实现推流播放鉴权

          本文链接:https://www.haomeiwen.com/subject/sfjcqhtx.html