基于JsSIP实现SIP网页客户端
首发时间:2015-01-12
摘要:JsSIP是使用Javascript脚本语言实现的开源SIP协议栈,是目前广泛应用的各种基于SIP协议的Web音视频通信终端的基础库。但是JsSIP只提供了对SIP协议基础部分的支持,而为实现具有个性化功能的SIP终端,需要拓展JsSIP并在其上开发应用层和用户界面。了解JsSIP的实现原理,代码结构能够帮助工程人员更好地重用开源代码,并在其基础上进行合理的修改。首先,文章从JsSIP的响应机制入手,分析JsSIP中关键的类继承和调用关系。之后,文章基于上文分析,以UPDATE和NOTIFY的拓展实现为例,并辅以说明第三方开发者工具包和用户界面,来全面概述SIP网页客户端的实现。
For information in English, please click here
Implementation of SIP Web Terminal Based on JsSIP
Abstract:JsSIP is an open-source protocol stack based on scripting language Javascript, which is used widely as base library in many web terminals based on SIP protocol. As JsSIP only supports basic functions of SIP, it has huge extension when individualized function is demanded. It is important for software engineer to understand how JsSIP functions, so JsSIP can be modified correctly. In this paper, first, response mechanism are introduced, and relationship of inheriting and calling between classes is analyzed. Then, implementation of UPDATE and NOTIFY works as an example of extension of JsSIP, besides, SDK and UI are introduced.
Keywords: Computer Network SIP Protocol Javascript Open-source protocol stack
基金:
论文图表:
引用
No.4625162100860914****
同行评议
共计0人参与
勘误表
基于JsSIP实现SIP网页客户端
评论
全部评论0/1000