首页|Nginx-rtmp推拉流鉴权模式分析与应用研究

Nginx-rtmp推拉流鉴权模式分析与应用研究

扫码查看
文章介绍了Nginx-rtmp回调机制的基本原理和相关变量应用方法,分析Nginx-rtmp服务器推流发布和拉流播放视频流鉴权方法,根据功能需求在Nginx服务器设计三个虚拟服务器,分别提供网络访问服务、rtmp视频流发布录制控制和Nginx-rtmp推拉流的鉴权服务,使用配置文件、虚拟服务器解析PHP、查询匹配虚拟服务器数据库三种途径对推拉数据流进行鉴权,不断增加推拉流并发量,记录其推拉流并发数量和响应时间,分析其效能,根据效能设置应用场景,为Nginx-rtmp服务器推拉流鉴权提供解决方案.
Research on Analysis and Application of Push and Pull Streaming Authentication Mode of Nginx-rtmp
This paper describes the basic principle and the application methods of related variables of the Nginx-rtmp callback mechanism,and analyzes the authentication methods for publishing of push streaming and playing video of pull streaming on Nginx-rtmp servers.In accordance with the functional requirements,it designs three virtual servers on the Nginx server to respectively provide network access services,rtmp video streaming control of publishing and recording,and authentication services for Nginx-rtmp push and pull streaming.It authenticates the push and pull streaming through three ways of configuration files,PHP resolution of virtual server,and database queries of matched virtual server.It continuously increases the concurrent number for push and pull streaming,records their concurrent number and response time,and analyzes the performance.According to the performance,it sets application scenarios,which provides solutions for push and pull streaming authentication of Nginx-rtmp server.

Nginx servervirtual serverpush streamingauthenticationperformance

郑超、张志国、李佳恒、焦金金、王子怡

展开 >

天津中医药大学图书馆,天津 301617

天津中医药大学教务处,天津 301617

Nginx服务器 虚拟服务器 推流 鉴权 效能

2024

现代信息科技
广东省电子学会

现代信息科技

ISSN:2096-4706
年,卷(期):2024.8(21)