使用Nginx和Nginx的RTMP模块(nginx-rtmp-module)搭建RTMP流媒体服务器。
Nginx 是一款轻量级的 Web 服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器,其特点是占有内存少,并发能力强。
1、搭建Nginx+RTMP 1.1下载注意:在windows下搭建Nginx+RTMP,只有nginx 1.7.11.3 Gryphon.zip这个版本的nginx在编译时加入了RTMP模块,其它版本的都没有。如果需要其它版本的Nginx需要源码编译。
注:
可以使用nginx.exe -V查看编译时的选项,可以看到有 –add-module=objs/lib/nginx-rtmp-module
D:nginxnginx1.7.11.3Gryphon> nginx.exe -V
nginx version: nginx/1.7.11.3 Gryphon
nginx origin: http://nginx-win.ecsds.eu/ Build March 19, 2015
TLS SNI support enabled
configure arguments: --with-cc=cl --builddir=objs --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log



