Font Size: a A A

Research And Implementation Of The Transformation System Of The Live Streaming Protocol Based On Nginx

Posted on:2018-05-07Degree:MasterType:Thesis
Country:ChinaCandidate:W L WuFull Text:PDF
GTID:2348330536978192Subject:Computer technology
Abstract/Summary:PDF Full Text Request
There are two conspicuous issues in the current video surveillance systems.First,mostly IPCam in the market only support RTSP protocol.Due to the RTSP protocol's characteristic,users have to install specific plugin on the browser to watch the video from IPCams.This condition will promote the user's enter barrier and make the Web technology's advantages.Second,the servers with high perforemce can reduce the cost of use and building.Consider these issues,we need a video surveillance system that can play video without extra plugin and support massive users.Such a system can reduce the extra cost by users.And the system provider also do not has to develop and promote a new video client.High performer can reduce the cost of deploying for system provider.In order to solve these issues,we design a live streaming protocol t ransform system based on Nginx,which can translate RTSP into RTMP.Due to most of camera are only support RTSP protocol as output,the system has to put RTSP protocol as input.Because about 98% browser already installed Flash plugin,we choose RTMP as the system output.For supporting massive user,we use Nginx which is a famous Web server.Many famous companies also use Nginx as their Web server.And due to Nginx's module design,it is easy to add function into Nginx.So we choose Nginx to be our system's base.Core work of this paper include:(1)Study the technology about video surveillance,including RTSP protocol,RTP/RTCP protocol,RTMP protocol,video data encoding standards like H.264 and Nginx.(2)Study the component of the RTSP protocol and RTMP protocol,think about how to translate RTSP into RTMP.(3)Build Nginx server environment and install Nginx-RTMP plugin.Study Nginx and Nginx-RTMP's source code.Then,add new function that can translate RTSP to RTMP into Nginx based on Nginx-RTMP plugin.Finally,we make the Nginx can put RTSP as input and put RTMP as output.At last,we test the system from two aspects.On the one hand,we test the system whether run correctly including audio and video.On the other hand,we care how many user the system can support.As result,the system can support 1000 user and about 100 backend RTSP servers in one machine with 2048 MB memory.So,this system can satisfy what we need.
Keywords/Search Tags:Video surveillance, RTMP, RTSP, RTP/RTCP, live streaming protocol
PDF Full Text Request
Related items