美文网首页
安装nginx-rtmp

安装nginx-rtmp

作者: 半夏_mint | 来源:发表于2018-08-14 15:42 被阅读0次

前提

安装 pcre、openssl、zlib

  • pcre 安装教程:

  • cc 安装教程

    • apt-get install build-essential
  • openssl 安装教程

    • apt-get install openssl
    • apt-get install libssl-dev

开始安装

  • nginx安装

     rtmp {
    server {
        listen 1935;
        chunk_size 4096;
        application myapp {
            live on;
        }
        application hls {
            live on;
            hls on;
            hls_path /tmp/hls;
        }
    }
    }

相关文章

网友评论

      本文标题:安装nginx-rtmp

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