nginx-rtmp-win32-master.zip
大小:5.03MB
价格:18积分
下载量:0
评分:
5.0
上传者:m0_70960708
更新日期:2025-09-22

nginx-rtmp-win32-master.zip

资源文件列表(大概)

文件名
大小
nginx-rtmp-win32-master/
-
nginx-rtmp-win32-master/LICENSE
1.28KB
nginx-rtmp-win32-master/README.md
3.87KB
nginx-rtmp-win32-master/auth_gen.php
303B
nginx-rtmp-win32-master/conf/
-
nginx-rtmp-win32-master/conf/mime.types
3.49KB
nginx-rtmp-win32-master/conf/nginx.conf
1.11KB
nginx-rtmp-win32-master/libNMTransCoder.dll
6.44MB
nginx-rtmp-win32-master/logs/
-
nginx-rtmp-win32-master/logs/access.log
-
nginx-rtmp-win32-master/logs/error.log
-
nginx-rtmp-win32-master/nginx.exe
3.22MB
nginx-rtmp-win32-master/stop.bat
17B
nginx-rtmp-win32-master/temp/
-
nginx-rtmp-win32-master/temp/temp.txt
-
nginx-rtmp-win32-master/www/
-
nginx-rtmp-win32-master/www/GrindPlayer.swf
990.46KB
nginx-rtmp-win32-master/www/Main.swf
93.83KB
nginx-rtmp-win32-master/www/ParsedQueryString.js
2.99KB
nginx-rtmp-win32-master/www/crossdomain.xml
79B
nginx-rtmp-win32-master/www/flashlsOSMF.swf
87.71KB
nginx-rtmp-win32-master/www/index.html
5.72KB
nginx-rtmp-win32-master/www/stat.xsl
11.49KB
nginx-rtmp-win32-master/www/swfobject.js
9.98KB
nginx-rtmp-win32-master/www/vod.html
3.09KB

资源内容介绍

nginx-rtmp-win32-master.zip
nginx-rtmp-win32================Nginx: 1.11.10 Nginx-Rtmp-Module: 1.1.11 openssl-1.1.0e pcre-8.40 zlib-1.2.10# configure arguments```nginx version: nginx/1.11.10built by clbuilt with OpenSSL 1.1.0e 16 Feb 2017TLS SNI support enabledconfigure arguments: --with-cc=cl --builddir=objs --with-debug --prefix= --conf-path=conf/nginx.conf --pid-path=logs/nginx.pid --http-log-path=logs/access.log --error-log-path=logs/error.log --sbin-path=nginx.exe --http-client-body-temp-path=temp/client_body_temp --http-proxy-temp-path=temp/proxy_temp --http-fastcgi-temp-path=temp/fastcgi_temp --http-scgi-temp-path=temp/scgi_temp --http-uwsgi-temp-path=temp/uwsgi_temp --with-cc-opt=-DFD_SETSIZE=1024 --with-pcre=objs/lib/pcre-8.40 --with-zlib=objs/lib/zlib-1.2.11 --with-select_module --with-http_realip_module --with-http_addition_module --with-http_sub_module --with-http_dav_module --with-http_stub_status_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_slice_module --with-mail --with-stream --with-openssl=objs/lib/openssl-1.1.0e --with-openssl-opt=no-asm --with-http_ssl_module --with-mail_ssl_module --with-stream_ssl_module --with-ipv6 --add-module=../nginx-rtmp-module```# 使用方法双击nginx.exe# 简要说明conf/nginx.conf 为配置文件实例 RTMP监听 1935 端口,启用live 和hls 两个application HTTP监听 8080 端口,* :8080/stat 查看stream状态 * :8080/index.html 为一个直播播放与直播发布测试器* :8080/vod.html 为一个支持RTMP和HLS点播的测试器# 实时转码nginx-rtmp-module在Linux平台支持exec来调用ffmpeg进行实时转码.windows平台由于原作者没有去实现所以不支持exec. 不过即使是使用ffmpeg转码,其实也存在很大的延迟,这是由于ffmpeg打开直播型输入流时需要花很多时间去做分析. NodeMedia使用独家优化的转码技术,直接内置于nginx服务内.实现了不限平台的实时转码实现. 目前第一版,支持任意音频编码转码为AAC,可控制转码后的采样率,声道,比特率.  ``` application live { live on; transcode on; #转码开关 transcode_appname hls; #转码后的 app name transcode_ar 44100; #转码后的采样率 transcode_ab 128000; #转码后的比特率 transcode_ac 1; #转码后的声道数}```## 后续版本或将增加 * 实时视频转码 * NVENC/NVDEC/Intel QSV加速 * 多分辨率输出# 播放防盗链与推流鉴权## 加密 URL 构成:>rtmp://域名/业务名/流名?sign=失效时间戳-HashValue  1.推流与播放地址: > rtmp://192.168.0.10/live/stream1232.链接失效时间:2017/3/23 10:10:0 计算出来的失效时间戳为 >14902350003.nginx.conf配置key >nodemedia2017privatekey4.组合为HashValue >HashValue = md5("/live/stream123-1490235000-nodemedia2017privatekey”) >HashValue = d03af0812548d315279936ad76f912be5.最终请求地址 >rtmp://192.168.0.10/live/stream123?sign=1490235000-d03af0812548d315279936ad76f912be >sign关键字不能修改## nginx.conf 鉴权配置说明``` application live { live on;     live_auth on; #鉴权开关 live_auth_secret nodemedia2017privatekey; #鉴权KEY}```## 安全URL的产生  应该由业务服务器生成安全的URL,防止在客户端泄漏key.可参考auth_gen.php# 注意不支持exec# 直播测试工具 内置了一个方便测试的pc端推流于播放的工具 ![img](https://github.com/NodeMedia/NodeMediaDevClient/raw/master/QQ20160310-0.png) 源码在此:https://github.com/NodeMedia/NodeMediaDevClient# 另一个选择,srs-win32 支持HTTP-FLV,配合B站开源flv.js实现浏览器HTML5下低延迟直播播放Simple-Rtmp-Server-win32 https://github.com/illuspas/srs-win32

用户评论 (0)

发表评论

captcha