| With the development of 4G and 5G technology and the rapid development of Internet,the demand of streaming media technology is increasing.Video surveillance is a traditional application scenario of streaming media technology.Video surveillance system has been widely used in government,enterprise and personal consumption market.Video surveillance system mainly consists of camera,streaming media server and client.In the current video surveillance system,the camera mainly transmits real-time video based on RTSP protocol.The client of Video surveillance system is generally developed based on OS system API.In i OS,Android,PC and other systems,the costs of the development and maintenance are very high,and the user experience is poor.Clients of the Web version need to install plug-ins.But the security and compatibility of plug-ins need to be improved.With the gradual standardization of audio and video formats for front-end cameras and the rapid development of HTML5 technology,a plug-in-free Web client need to be developed,which can solve the problem of cross-platform and compatibility,reduce the development and deployment costs of enterprises,and enhance the user experience.The main work of this thesis is as follows:(1)Design and develop a protocol conversion streaming media server based on Muduo network library,which can convert the streaming media of RTSP/RTP protocol into the streaming media of WS-FLV,HTTP-FLV,HLS,Web RTC protocol.(2)Improve the Web RTC of P2 P to a streaming media server which is suitable for B/S architecture,analyze and implement the Web RTC congestion control algorithm,and ensure the quality of Web RTC real-time video transmission.(3)Design and develop a Web Player Client with HTML5 technology such as Media Source Extensions and RTCPeer Connection,which supports the live streaming of WS-FLV,HTTP-FLV,HLS,Web RTC protocols.(4)An embedded webcam system supporting RTSP protocol is designed and implemented based on HI3520 D and Mouduo network library.Lastly,the functional test and performance test of the surveillance system are carried out.The results of the test show that the system realizes the basic functions of video surveillance system.And the real-time video can be played normally on browsers of different operating systems with good performance. |