Font Size: a A A

Design And Implementation Of A Lightweight Video Server Based On RTMP Protocol

Posted on:2016-05-16Degree:MasterType:Thesis
Country:ChinaCandidate:X FengFull Text:PDF
GTID:2308330473954335Subject:Information security
Abstract/Summary:PDF Full Text Request
After decades of rapid development, Computer technology and Internet technology,now have penetrated into everyone’s life, so that we are used to being linked together by the Internet. As is gradually and widely used in people’s life, the stream media technology based on these two techniques has entered people’s vision. The research and optimization on streaming media server contribute a lot to streaming media technology development. With the progress of society, portability has become one of the new requirements that servers have to satisfy. According to the research and analysis on the current shortages of common streaming media server, in this thesis, we design and implement a lightweight video server based on RTMP protocol.First of all, this thesis investigates in the background of the current research on the subject, along with the necessity and the state of art at home and abroad. Secondly, the thesis presents the protocols and technologies that are used in streaming media server development, including TCP, RTMP protocol, and transmission technology of streaming media as well as video compression coding technology. Thus, based on the above careful investigation and research, we propose the design of the whole system. The system consists of three layers: data layer, the control layer and processing layer. After the solution is proposed, we implement the three-tier system sub-module step by step,and give a sufficient demonstration for the key parts of the implementation, according to the RTMP protocol. Finally, the functions and performance of the system have been thoroughly tested, on all the relevant parameters. Through the analysis and comparison of the current popular technology of streaming media, we choose the RTMP protocol as the transport protocol, design the system use the B/S pattern. We use the ffmpeg program in the video capture module, and the MVC model development for client login.SHA1 authentication techniques are applied to the one-way hash of the user information,and jwplayer to decode and play videos.The main functions of our system are to enable streaming sharing in a small scale and use the browser for instant online playing. It can be also deployed in real-time home security monitoring with video capture module. Through several rounds of extensive testing, the transmission rate of the system is within acceptable range. Therefore, we can enjoy the satisfactory CPU usage, and the stable operation of system can be alsoguaranteed.
Keywords/Search Tags:Streaming media, video, server, RTMP, lightweight
PDF Full Text Request
Related items