Design and Implementation of the Adaptive Streaming System Based on the RTSP Protocol
- Author
- ZhouXiaoHua
- Advisor
- TangXinHuai
- School
- Shanghai Jiaotong University
- Major
- Software Engineering
- Classification
- TN919.8 Image communication, multimedia communication
- Degree
- Master's thesis
- Year
- 2012
- Downloads
- 150
- Citations
- 1
Abstract
As these years with the increasing popularity of3G and wifi network,many kinds ofmobile terminals come into people’s eyes.Including many kind of smart terminals such asmobile phones based on the android system,iphone\ipad\itouch based on apple’s IOS,smartphones based on the windows phone operating system and many kinds of tablet PC based onthe linux operating system.The streaming media becomes the intense competiton around thesethree IT companies.Among these media streaming technologies,the apple’s http adaptivestreaming,the microsoft’s smooth streaming and the adobe’s rtmp streaming become thefocus of people’s eyes.These three adaptive streaming technology can all make the mobile terminals monitor thestatus of network in real time,and the terminals can notify the streaming server to adjust thequality of media streaming.Thus upgrade the feelings of people’s experience.In view ofthis,the paper research these three companys’ adaptive streaming technology and combine theproject of magic screen project on shanghai’s telecom,raise one adaptive technology based onthe rtsp protocols,and achieve the purpose of adaptive media streaming on the magic screenterminal.The work on the paper as follows:1. Analysize the design of today’s most popular adaptive streaming.2. By the research of TS file, we give the algorithm of the TS file’s real bit rate,thealgorithm of key frame of ts file and the algorithm of TS file’s logic segmentation.3. By the research of rtsp protocol,we compare the isma rtsp and the rtsp based on thempeg2-ts.On the basis,we expand the rtsp protocol,make it coordinate the ts file’slogic segment,and switch among the multibate ts files,so the rtsp file can support the ts file with multiple quality.4. With the research of Darwin streaming server(DSS),we redevelop the open source ofDSS,make it support the expanding rtsp protocol based on the mpeg2-ts.5. Among the client’s switching algorithm,we give the shaking algorithm against themobile media streaming.The algorithm can calculate the out of order state of the realtime wireless network.And make the use of rtcp protocol to notify the streamingserver.So the streaming server can make the judgment of switching to high quality tsfile or the low quality one.
Table of contents
Summary 3-5
ABSTRACT 5-10
1 Introduction 10-13
1.1 Introduction 10
1.2 topics background 10-11
1.3 This paper studies and papers organizational structure 11-13
2 related technology research 13-19
2.1. Microsoft's smooth streaming 13-14
2.2 Adobe 's RTMP protocol 14-15
2.3 APPLE 's http protocol adaptive streaming technology . 15-17 .
2.4 server sends the client playback speed and cache size of adaptive technology 17-18
2.5 transcoding 18
2.6 SVC scalable video coding . 18-19
3 TS files 19-33
3.1 MPEG2-TS system part formation nbsp 19-20
3.1.1 TS files ; 19-20
3.2 TS packet structure analysis 20-24
3.2.1 TS header analysis 20-22
3.2.2 TS Adaptation field in PCR analysis 22-24
3.3 TS stream computing 24-25
3.4 I -frame extraction algorithm 25-26
3.5 TS sliced ?? 26-32
3.5.1 data structure analysis 26-30
3.5.2 API analysis 30-32
3.5.3 slicing program algorithm 32
3.6 Summary 4 RTSP protocol for 32-33
its expansion 33-48
4.1 protocol Overview 33-41
4.1.1 RTSP (Real Time Streaming Protocol) Real Time Streaming Protocol 33-35
4.1.2 RTP / RTCP transmission Control Protocol 35-37
4.1. 3 SDP session description protocol (Session Description Protocol) 37-39
4.1.4 RTSP protocol stack and program flow 39-41
4.1.5 RTSP and HTTP adaptive mechanism contrast 41
4.2 Mpeg-2 TS streams over IP and compare nbsp ISMA way ; 41-43
4.2.1 ISMA streaming 41-42 <br / > 4.2.2 Mpeg-2 TS over IP mode 42-43
4.2.3 ISMA difference between Mpeg-2 ts over IP is 43
4.3 based adaptive systems RTP protocol extension 43-47
4.3.1 original RTP protocol format 43-45
4.3.2 extension format 45-47
4.4 Summary 47-48
5 design mobile streaming media based adaptive systems and implementation of DSS 48-70
5.1 mobile streaming adaptive system requirements outlined 48
5.2 mobile streaming adaptive overall system architecture 48-51
5.3 DSS streaming server profile 51
5.4 DSS software architecture 51 -57
5.4.1 software directory structure and function 52-54
5.4.2 client , threads and module model 54-55
5.4.3 thread stack 55-56
5.4.4 Demand timing Diagram 56-57
5.5 DSS add TS subsystem 57-63
5.5.1 module generation 57-59
5.5.2 DSS add TS transmission module 59-63
5.6 RTCP Process Role (rtcp protocol processing roles ) 63-65
5.7 adaptive switching achieve 65-66
5.8 system test 66-69
5.8.1 server configuration 67
5.8 .2 magic screen terminal configuration 67
5.8.3 test environment 67
5.8.4 TS test file description 67
5.8.5 player effect 67-68
5.8.6 test results 68-69
5.9 summary 69-70
6 summarizes 70 - 71
References 71-73
Thanks 73-74
during the study authors published dissertations 74-76
Shanghai Jiaotong University master's degree thesis written resolution 76-77