现代信息科技2024,Vol.8Issue(21):57-60,66,5.DOI:10.19850/j.cnki.2096-4706.2024.21.012
Nginx-rtmp推拉流鉴权模式分析与应用研究
Research on Analysis and Application of Push and Pull Streaming Authentication Mode of Nginx-rtmp
摘要
Abstract
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服务器/虚拟服务器/推流/鉴权/效能Key words
Nginx server/virtual server/push streaming/authentication/performance分类
信息技术与安全科学引用本文复制引用
郑超,张志国,李佳恒,焦金金,王子怡..Nginx-rtmp推拉流鉴权模式分析与应用研究[J].现代信息科技,2024,8(21):57-60,66,5.基金项目
天津中医药大学2023年教育教学改革研究课题(2023ZJY006) (2023ZJY006)