[1]王金环,李宝敏.基于 Media Source Extension 的直播系统的研究[J].计算机技术与发展,2020,30(12):210-215.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 037]
 WANG Jin-huan,LI Bao-min.Research on Making Living System Based on Media Source Extension[J].,2020,30(12):210-215.[doi:10. 3969 / j. issn. 1673-629X. 2020. 12. 037]
点击复制

基于 Media Source Extension 的直播系统的研究()
分享到:

《计算机技术与发展》[ISSN:1006-6977/CN:61-1281/TN]

卷:
30
期数:
2020年12期
页码:
210-215
栏目:
应用开发研究
出版日期:
2020-12-10

文章信息/Info

Title:
Research on Making Living System Based on Media Source Extension
文章编号:
1673-629X(2020)12-0210-06
作者:
王金环1李宝敏2
1. 西安培华学院 智能科学与信息工程学院计算机系,陕西 西安 710125; 2. 西安工业大学 计算机学院,陕西 西安 710021
Author(s):
WANG Jin-huan1LI Bao-min2
1. Department of Intelligent Science and Information Engineering,Xi’an Peihua University,Xi’an 710125,China; 2. School of Computing,Xi’an Technological University,Xi’an 710021,China
关键词:
WebSocket视频编码、解码信号处理JavaScript云服务器
Keywords:
WebSocketvideo encoding and decodingsignal processingJavaScriptcloud server
分类号:
TP399
DOI:
10. 3969 / j. issn. 1673-629X. 2020. 12. 037
摘要:
在浏览器中,所有的数据交换都必须遵守 HTTP 协议,数据必须在完全传输完毕后才能由 JavaScript 进行处理。 在这种情况下,是无法来实现实时的流数据传输。 对于传统的云直播服务则需要提供视频云转码的功能,以便于兼容各种设备。 随着 WebSocket 技术的开发应用,借助该技术,可以在浏览器上实现流传输,使得视频实时直播成为了可能。 该系统实践了这个过程,使用 JavaScript 在浏览器上对视频流进行 De-multiplexing、Decoding、Encoding、Multiplexing,并根据浏览器对视频格式的支持情况,针对直播云服务器提供的视频转发功能,基于最新的接口,将视频的解码、编码、渲染等操作集成到客户端,通过自动选择视频流的处理方式,最后实现实时直播。 视频直播服务器不再需要处理视频流,客户端通过WebSocket 接收视频数据并根据浏览器所支持的编码格式进行重编码。 该系统的实践具有直播带宽要求低、服务端低配置、低延迟、无法盗链等优点。
Abstract:
In the browser, all data exchange must comply with the HTTP, and the data must be processed by JavaScript after it is completely transmitted. In this case,it is impossible to achieve real-time strea-ming data transmission. For traditional cloud live broadcast services,the video cloud transcoding function needs to be provided in order to be compatible with various devices. With the development and application of WebSocket technology,with this technology,streaming can be realized on the browser,making it possible for live video to be broadcast live.This system has practiced this process, using JavaScript to perform De-multiplexing, Decoding,Encoding, and Multiplexing on the browser, and according to the browser’s support for the video format,based on the video forwarding function provided by the live cloud server, the video decoding, encoding, rendering and other operations are integrated into the client based on the latest interface. By automatically selecting the processing method of the video stream,the real-time live broadcast is finally achieved. The video live server no longer needs to process the video stream. The client accepts the video data through WebSocket and re-encodes it according to the encoding format supported by the browser. The practice of this system has the advantages of low live broadcast bandwidth requirements,low server configuration, low latency,and inability to steal the chain.

相似文献/References:

[1]王丽红,王夏黎,曹晨洁,等.基于 Websocket 的桥梁结构变形实时监测系统设计[J].计算机技术与发展,2020,30(05):132.[doi:10. 3969 / j. issn. 1673-629X. 2020. 05. 025]
 WANG Li-hong,WANG Xia-li,CAO Chen-jie,et al.Design of Real-time Monitoring System for Bridge Structure Deformation Based on Websocket[J].,2020,30(12):132.[doi:10. 3969 / j. issn. 1673-629X. 2020. 05. 025]
[2]邢 星,罗建岩,贾志淳,等.智能真空热处理炉远程监控系统设计与实现[J].计算机技术与发展,2020,30(06):151.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 029]
 XING Xing,LUO Jian-yan,JIA Zhi-chun,et al.Design and Implementation of Intelligent Remote Monitoring System for Vacuum Heat Treatment Furnace[J].,2020,30(12):151.[doi:10. 3969 / j. issn. 1673-629X. 2020. 06. 029]

更新日期/Last Update: 2020-12-10