Design and Implementation of Streaming Media Middleware, Named StreamingWare

Author
HuangBaFeng
Advisor
ZhangJiaZuo
School
Donghua University
Major
Computer Applications
Classification
TP393.09 The application of computer network
Degree
Master's thesis
Year
2004
Downloads
200
Citations
3

Request the full text

Abstract

The streaming media,such as video, audio, is a time based media that is transmitted in network by streaming technology. With the development of broad-band network,the application of streaming media is increasing popular,including VOD(video on demand),distance Learning,video conference,and video monitoring system etc.Those applications metioned above are all the combination of distributed technology and multimedia technology. It is natural to associate distributed application with middleware.Imagine such kind of middleware for streaming media: first,it can make it possible that inter-connection and inter-operation among distributed nodes and make the developers focus on application,rather than the details of transmission and control. second,it can provide first-class support for the development of streaming media application,such as capture,process,play.Totally, the middleware can provide a framework for capture,process,transmission,control and play,meanwhile offer the related system service,such as streaming protocol,digital right management,etc.It is just the object of the thesis to design and implement a streaming media middleware named Streaming Ware.In architecture, Streaming Ware has two parts: framework and system services.The frame workjust metioned above,provides a mechanism for capture,process, transmission,control and play.The implementation is to extend DirectShow,the Microsoft’s development framework for multimedia, to network.DirectShow is an mature development framework for multimedia in PC.In other words,it provides excellent support for capture,process and play.But it is lack of the mechanism for transmission of media data and control information, and control among distributed components. So the extention is mainly for transmission and control.The actual implementation is to design a network filter named NetFilter.The transmission of media data and control information is through NetFilter. The control among distributed components involves the component technology and RPC(remote procedure call).The component technology is just Microsoft’s COM(component object model).The RPC makes reference to the idea of web service and the communication of distributed components is based on XML+socket.The system services can extend many parts,such as Qos in application,DRM, andstreaming protocols etc.In this thesis,I design and implement RTP/RTCP. RTP/RTCP. plays a critical role in streaming media application.RTP offers timestamp and SequenceNumber,which are all important to the frame process in application level,such as frames group,play back.RTCP,however,provides many reports,including the sender report and receiver report that provides feedback information of sent packages,which is necessary to Qos.This is a significative and somewhat creative work. The implementation of StreamingWare is rather simple.It has not industry value by now,but the idea of streaming media middleware ,I think,is very significative.If the mature streaming media middleware appears in the future,the manufacturers of streaming media application software will invest more resources in application itself,ruther than waste resources in repetitious work. Then it is possible to form a reasonable industry chain of streaming media application,as J2EE chain.The thesis is organized as follows.First,I introduce the essential ideas of middleware,the core technologies of streaming media and the standard of multimedia middleware of ITU and ISO.Then,the framework and the main components of DirectShow are described.After that,I sententiously introduce the main idea of StreamingWare.The following two chapters are the design and implementation of framework of StreamingWare and the most important system service-RTP/RTCP. The last is summarization of the thesis.

Table of contents

Chapter 1 Introduction 12-15 1.1 streaming media applications, system technology essentially 12 1.1.1 group communication requirements 12 1.1.2 multimedia Qos requirements 12 1.2 starting point of this article , academic significance and industrial value 12-13 1.3 the main design ideas 13-14 1.3.1 The basic framework 13-14 1.3.2 system Services 14 1.4 this chapter structure 14-15 Chapter stream Media middleware 15-27 2.1 middleware 15-16 2.1.1 middleware basic concept 15 2.1.2 middleware the key elements 15-16 2.2 streaming media 16-22 2.2.1 basic concepts streaming 16 2.2.2 streaming Media key Technical 16-22 2.2.2.1 Overview 16-17 2.2.2.2 decompression technology 17-18 2.2.2.3 application layer QOS control 18-19 2.2.2.4 uninterrupted media distribution services 19-20 2.2.2.5 media synchronization control 20-21 2.2. 2.6 streaming protocol 21-22 2.2.2.7 digital Rights Management (DRM) 22 2.3 streaming media middleware 22-27 2.3 .1 streaming middleware concept 22-23 2.3.2 streaming media middleware constitute 23 2.3.3 streaming media middleware international standards 23-26 2.3.3.1 ITU 's RM-ODP 23-25 ?? 2.3.3.2 ISO PREMO 25-26 2.3.4 standard meaning 26-27 Chapter DirectShow -depth analysis 27-42 3.1 Overview 27 3.2 DirectShow architecture and working principle 27 -35 3.2.1 DirectShow architecture 27-30 3.2.1.1 filter graph and it contains a component 28-30 3.2.2 DirectShow work principle 30-35 3.2.2.1 how DirectShow hardware interacts 30-32 3.2.2.2 DirectShow data flow analysis 32-35 3.3 DirectShow system services 35-41 3.3.1 threading mechanism 35 3.3.2 event mechanism 35-36 3.3.3 clock mechanism 36-40 3.3.4 QOS management 40-41 3.3.4.1 quality news 40 3.3.4.2 default quality control 40-41 3.4 Summary 41-42 Chapter StreamingWare design ideas 42-47 4.1 DirectShow lack 42 - 44 4.2 StreamingWare design ideas 44-47 4.2.1 from the middleware perspective 44-45 4.2.2 streaming media from the perspective of 45-46 4.2.2.1 Codec ( codec ) technology 45 4.2.2.2 application layer QOS Control 45 4.2.2.3 uninterrupted media release services 45 4.2.2.4 streaming media protocol 45 4.2.2.5 synchronization technology 45 4.2.2.6 DRM 45 - 46 4.2.3 streaming media middleware from the point of view 46-47 4.2.3.1 streaming middleware elements 46 4.2.3.2 basic framework 46 4.2.3.3 system Services 46-47 chapter based framework design and implementation 47-62 5.1 base frame design 47-50 5.1.1 reference to international standards 47-48 5.1.2 expansion of the basic problems and basic solutions 48-50 5.1.2.1 system command processing 48-49 5.1.2.2 application command processing 49-50 5.1.2.3 data stream processing 50 5.2 basic framework to achieve 50-62 5.2.1 main classes 50-54 5.2.1.1 CNetFilter 50-51 5.2.1.2 CNetPin 51 5.2.1.3 CNetDataPin 51-52 5.2.1.4 CNetControlPin 52 5.2.1.5 CNetPacket 52-53 < br /> 5.2.1.6 CLocalInputPin 53 5.2.1.7 CLocalOutPutPin 53-54 5.2.2 relationships between Classes diagram 54 5.2.3 main flowchart 54-62 5.2.3.1 system command calling sequence diagram 54-57 5.2.3.2 application command calling sequence diagram 57-60 5.2.3.3 packet receive sequence diagram 60-62 Chapter RTP ??/ RTCP design and Implementation 62-80 6.1 RTP / RTCP protocol analysis 62-69 6.1.1 RTP protocol design ideas 62-63 6.1.1.1 streamed two elements 63 6.1. 2 RTP analysis 63-64 6.1.3 RTCP analysis 64-69 6.1.3.1 RTCP four functions 64 6.1.3.2 sender and receiver reports 64-67 6.1.3.3 SDES source description packet (Source description RTCP packet) 67-68 6.1.3.4 BYE packets exit the session 68 6.1.3.5 APP package : Application-defined RTCP packet 68-69 6.2 RTP / RTCP design and Implementation 69-78 6.2 .1 key classes and relationships between classes 69-75 6.2.1.1 Class RTPSession 69-70 6.2.1.2 Class RTPPacket 70 6.2 .1.3 Class RTPSourceData 70-71 6.2.1.4 Class RTPSources 71-72 6.2.1.5 Class RTPRTCPModule 72 6.2.1.6 Class RTPConnection 72-73 6.2.1.7 Class RTPPacketProcessor 73-74 6.2.1.8 relationships between classes diagram 74-75 6.2.2 key processes 75-78 6.2.2.1 RTPSession Create 75-76 6.2.2.2 SendPacket process 76-77 6.2.2.3 PollData process 77-78 6.3 the RTP / RTCP into basic framework 78-80 6.3.1 sends RTP / RTCP data 78-79 6.3.2 receiving RTP / RTCP data 79-80 Chapter Summary and Outlook 80-82 7.1 Summary 80 7.2 Prospects 80-82 References 82-83 Appendix graduate papers published during the study period 83-84 Thanks 84

Related dissertations

  1. Based on key technologies of streaming media technology of remote multimedia teaching system and
  2. Streaming media transmission technology in the the West changed plant network video surveillance system design and application
    ZhangYongGang ·Chang'an University ·2006 ·Master's thesis
  3. The streaming middleware and achieve
    DingWei ·Zhengzhou University ·2006 ·Master's thesis
  4. Reseach and Implementation of Streaming Media Real-time System Based on RTP
  5. Software Design of Networked Video Surveillance System
    GuoJing ·Tianjin University ·2012 ·Master's thesis
  6. Application Research of wireless network video conference system based on 3G
    LiuWei ·Wuyi University ·2012 ·Master's thesis
  7. Design and Implementation of Mobile Streaming Media System Based on Wireless Network Environment
    WuZhiWei ·Dalian University of Technology ·2013 ·Master's thesis
  8. The Remote Data Transmission and Processing System in Mines
    DuanShuQiang ·Xi'an University of Engineering ·2011 ·Master's thesis
  9. The Research and Implementation on Video Data Network Transmission Technology
  10. Research on QoS Technology of Streaming Media in Video Surveillance System
    LiuGuang ·Wuhan University of Technology ·2008 ·Master's thesis
  11. The Network Video Player Based on DirectShow Technology
    HuangLiangFei ·Zhejiang University ·2007 ·Master's thesis
  12. The Application of Multimedia and Instant Messaging Technology in Distance Education Platform
  13. Application and Study of Network Public Broadcast Based on Streaming Media Technology
    ZhouHui ·Guangdong University of Technology ·2007 ·Master's thesis
  14. Research and Application of RTP Based on QoS Multicast
    LiHuiBin ·University of North ·2007 ·Master's thesis
  15. Research and Development of Network Video Monitor Technology and System Based on MPEG-4
  16. The Research and Implementation of Online Spoken Training System
    YinBaoKun ·Shenyang University of Technology ·2004 ·Master's thesis
  17. The Research and Application of Transportation Technology of Real Time Video in Smart Home System
    PanChengJin ·Hefei University of Technology ·2004 ·Master's thesis
  18. Design and Realize Remote Real-Time Teaching Software System
    HuJun ·Hefei University of Technology ·2002 ·Master's thesis
  19. The Design and Implementation of a MPEG-4 Video Live Transmission System Based on DirectShow
    QianXiaoHong ·Central China Normal University ·2007 ·Master's thesis
  20. The Research and Design of Video Transporting Technology Based on Internet
    QianJun ·Hefei University of Technology ·2007 ·Master's thesis