基于WebRTC的多媒体通信模块  被引量:2

Multimedia Communication Module Based on WebRTC

在线阅读下载全文

作  者:于波[1] 缪红娣 YU Bo MIAO Hong-Di(Shenyang Institute of Computer Technology, Chinese Academy of Sciences, Shenyang 110168, China University of Chinese Academy of Sciences, Beijing 100049, China)

机构地区:[1]中国科学院沈阳计算技术研究所,沈阳110168 [2]中国科学院大学,北京100049

出  处:《计算机系统应用》2017年第10期118-123,共6页Computer Systems & Applications

摘  要:传统的Web IM要求通信双方在浏览器中安装插件(如Adobe Flash Player),这不但降低了用户体验,还增加了开发者对插件开发、更新及维护的繁琐工作.此外,传统的Web IM主要采用了定时访问服务器的方法 (即轮询方式)实现浏览器与服务器之间的交互,该方式降低了实时性且增加了对服务器资源的消耗.针对上述问题,本文采用WebSocket连接技术使得浏览器与服务器之间能够通过长连接方式进行数据交互,该方式提高了实时性,降低了对服务器的负载.然后,本文依据提供的WebRTC API,实现了一个具备音视频通信以及文件传输功能的多媒体通信模块.通过MVC三层架构模式,对该模块进行了具体划分与实现.最后通过测试表明该设计能够满足用户的基本功能需求.The traditional Web IM requires both sides to install plug-ins(such as Adobe Flash Player) in the browser,which does not only reduce the user experience, but also increases the developers' tedious work for plug-in development,updating and maintenance. In addition, the traditional Web IM mainly adopts the method of the regular access server(the polling mode) to achieve the interaction between the browser and server, which reduces the real-time performance and increases the consumption of server resources. According to the problems above, this article implements the long connection between the browser and server and data interaction through WebSocket, which improves the real-time performance. Then on the basis of providing WebRTC API, we implement a module which performs the function of audio and video communication and file transfer. Through the MVC three-tier architecture model, we carry on the concrete division and implementation of the module. Finally, the test shows that the design can meet the basic functional requirements of the user.

关 键 词:WebRTC WebSocket 视频通信 文件传输 

分 类 号:TN919.8[电子电信—通信与信息系统] TP393.09[电子电信—信息与通信工程]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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