| With the rapid development of mobile devices,mobile applications have been used from phone calls and text messages to mobile payment and voice video chat.Various software has brought great convenience to our life,and the appearance of 4G network has made it possible to conduct video monitoring to the mobile devices.At present,the ONVIF protocol occupies the security monitoring standard market,and almost every monitoring camera manufacturer supports the ONVIF protocol.More than 5,000 products have passed the ONVIF certification,but the front-end camera,which is responsible for collecting video data,is usually installed in a fixed location,and the monitoring range cannot be changed according to users' demands.Due to the flexible and convenient characteristics of mobile devices,it can be mobile monitoring devices,while can also be used as clients for browsing and monitoring,which becomes the first choice for mobile video monitoring.However,mobile video monitoring generally uses SIP protocol or HTTP protocol and cannot communicate with security devices in the market,which presents a challenge for both fixed and mobile devices to the network construction together.In view of the above problems,this thesis proposes to use the ONVIF protocol on mobile devices,so that mobile devices can be integrated with security devices that meet the ONVIF protocol.At the same time,mobile devices can carry out video monitoring via SIP protocol.The main work is as follows:1.According to the ONVIF protocol used by mobile devices,a Web Service interaction module based on ONVIF protocol and an RTSP-based interaction module are designed.A lightweight HTTP server is built on the mobile device using the NanoHTTPD framework,and the RTSP protocol is used for streaming control signaling.The interaction enables functions such as access to mobile device information and video streams.2.Aiming at the SIP protocol used between mobile devices,a SIP-based signalinginteraction module is designed to implement functions such as login,video request and buddy list request of mobile devices.3.For the transmission and reception of video stream,an Android video module based on RTP protocol is designed,this module is used to transmit the video stream of the mobile device to the client of the streaming media server or the hard disk recorder and receive the video stream forwarded by the streaming media server.4.For the uploading of video data,a video uploading module based on FTP protocol is designed,which realizes the function of uploading locally cached video data to the FTP server.5.For the functions provided by the above mobile devices,a modular functional test is proposed,and the software can complete the basic functional requirements and run well.6.The mobile video client based on ONVIF protocol designed in this thesis enables mobile devices to transmit or receive video streams and upload video data to FTP server for persistence.The resolution of video,image jam,two-way video conversations and software interface optimization can be used as future research content. |