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

Research on Analysis and Application of Push and Pull Streaming Authentication Mode of Nginx-rtmp

在线阅读下载全文

作  者:郑超 张志国 李佳恒 焦金金 王子怡 ZHENG Chao;ZHANG Zhiguo;LI Jiaheng;JIAO Jinjin;WANG Ziyi(Tianjin University of Traditional Chinese Medicine Library,Tianjin 301617,China;Academic Affairs Office of Tianjin University of Traditional Chinese Medicine,Tianjin 301617,China)

机构地区:[1]天津中医药大学图书馆,天津301617 [2]天津中医药大学教务处,天津301617

出  处:《现代信息科技》2024年第21期57-60,66,共5页Modern Information Technology

基  金:天津中医药大学2023年教育教学改革研究课题(2023ZJY006)。

摘  要:文章介绍了Nginx-rtmp回调机制的基本原理和相关变量应用方法,分析Nginx-rtmp服务器推流发布和拉流播放视频流鉴权方法,根据功能需求在Nginx服务器设计三个虚拟服务器,分别提供网络访问服务、rtmp视频流发布录制控制和Nginx-rtmp推拉流的鉴权服务,使用配置文件、虚拟服务器解析PHP、查询匹配虚拟服务器数据库三种途径对推拉数据流进行鉴权,不断增加推拉流并发量,记录其推拉流并发数量和响应时间,分析其效能,根据效能设置应用场景,为Nginx-rtmp服务器推拉流鉴权提供解决方案。This paper describes the basic principle and the application methods of related variables of the Nginxrtmp 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服务器 虚拟服务器 推流 鉴权 效能 

分 类 号:TP393[自动化与计算机技术—计算机应用技术] TP311.5[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象