The Research and Implementation of RTMP Media Streaming Embed into SIP Softswitch Networks
- Author
- LuoZuo
- Advisor
- ZhangYu
- School
- South China University of Technology
- Major
- Applied Computer Technology
- Classification
- TN915.05 Communication network equipment
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 69
- Citations
- 1
Abstract
SIP protocol appeared in the mid1990s, from laboratory. its original location is just tryto free the enterprise from the PBX’s expensive hardware and maintenance costs. But with thedevelopment of the Internet, the user more and more eager to use a new generation of VoIPphone and its derivative of new business way. SIP is an application layer of signalling controlprotocol, used to create, change and release one or more participants session. Right now, moreand more telecom operator, CLEC, ITSP are providing service based on SIP.However, rooted in the internet which has large number of information resources, If SIPonly provide basic voice communication function,seemed fail to a fulfill its specific purpose.And,the current technology with real-time and interactive streaming media is ascendant. Ifcombine the communication network of VoIP with rich and colorful multimediaapplications,that will be a change in the field of communications. Real-time streaming mediatechnology standards, first will be the RTMP protocol of Adobe Inc. It is used for Flashplayer and server transmission between video, audio and data agreement. Use RTMP hasobvious advantages, first of all,RTMP agreement is a lightweight protocol, succinctdefinition,RTMP header can dynamically change size, and even may not need it.So,thespending cost is small, save bandwidth. Secondly, its Web front end players are almost allFlash Player browsers support, global coverage more than95%of personal computers, andalso has other client software incomparable technical advantage.In the time of Adobe Inc public its RTMP protocol, this paper, from the deep research ofRTMP protocol and SIP basic principles, gives a architecture model of RTMP flowembeded into the SIP network,and its research and design (this paper called RTMP-in-SIPgateway). This solution implemented the transformation between RTMP streaming mediaapplication and SIP. The client may have the aid of Flash technology to mak the Web browsersoft phone, it not only can use traditional streaming media server to provide rich mediaservice, but also can access to telephone call traditional SIP network, and even PSTNnetwork.This paper’s key point is when RTMP flow embedded into SIP network, the RTMPsession’s representation and how it can correlate with SIP session; and how RTMP flow try to drive SIP multithreaded call model of the work. At the same time, in the call’s life cycle, howthe channel call state machine is to communicate with RTMP flow. Finally, this paper tests theRTMP-in-SIP gateway’s ability in Web soft phone and SIP soft phone call in signal converting.then,using performance test tools SIPp, testing the bandwidth rate, protocol conversion delay,concurrent call several parameters to verify the gateway’sfunction and performance. From thetest results,it is showed that the the paper’s research system model can be acted as a very goodapplication in practical projects.
Table of contents
Summary 5-6
Abstract 6-10
first chapter background and significance 10-14
1.1 topics 10 -11
1.2 Status 11-12
1.3 arguments based main content of the work 12
1.4 This article 12-13
1.5 papers organizational structure 13-14
Chapter II systems and protocols related research 14-27
2.1 SIP protocol describes 14-19
2.1. 1 SIP conceptual terms 14-16
2.1.2 SIP Proxy and B2BUA 16-18
2.1.3 RTP protocol description 18-19
2.2 RTMP protocol describes 19-26
2.2.1 RTMP handshake 20-21
2.2.2 RTMP Chunk format 21-23
2.2 .3 RTMP Message format 23-24
2.2.4 RTMP command messages 24-25
2.2.5 AMF data format 25-26
2.3 Summary 26-27
Chapter RTMP-in-SIP gateway model design 27-42
3.1 system design 27-32 <br / > Interface Description 3.1.1 FreeSwitch of 28-29
3.1.2 module framework described 29-30
3.1.3 module functional division 30-32
3.2 correlation function module interface 32-41
3.2.1 basic concepts and data structures 32-37
3.2.2 RTMP TCP module interface description 37-38
3.2.3 RTMP SIP module interface description 38-39
3.2.4 RTMP RPC module interface description 39-40
3.2.5 RTMPAMF module Interface Description 40-41
3.3 Summary 41-42
Chapter RTMP-in-SIP gateway key technology 42-53
4.1 Time33 hash algorithm 42-43
4.2 AMF serialization and Event chain store 43-44
4.3 RTMP call session representation and multi- threading model 44 - 48
4.3.1 SIP call session and channel management 44-46
4.3.2 RTMP stream -driven multi-threaded conversation model 46-48
4.4 RTMP stream channel state migration 48-52
4.4.1 channel state migration patterns 49-50
4.4.2 RTMP stream and channel state machine interaction 50-52
4.5 Summary 52-53
Chapter V system testing and analysis of experimental results 53-62
5.1 RTMP-in-SIP gateway function tests 53-56
5.1.1 testing program 53-54
5.1.2 test environment and network topology 54-55
5.1.3 test results analysis 55-56
5.2 RTMP-in-SIP gateway performance test 56-61
5.2.1 testing tools 56
5.2. 2 testing program 56-57
5.2.3 results of the call signaling flow 57-60
5.2.4 analysis call media stream 60-61
5.3 summary 61-62
summary and Outlook 62-64
References obtain 64-67
master's degree during research 67-68
Thanks 68