Recently, we have been working with video surveillance and have done a lot of work, which includes two modes of monitoring system implementation:
1. c/S architecture
c/S architecture, mainly in the Android system monitoring client design, based on VLC implementation, can directly watch the IP camera rtsp video stream.
Advantages: Small delay, simple operation.
Cons: Large code size.
2, b/S structure
b/S architecture, mainly in Android under the use of ffmpeg and Nginx combined to build HLS streaming server, the RTSP transfer into a video stream can be transmitted by the HTTP protocol, viewed in the browser.
Pros: Less code, no additional software, plugins.
Disadvantages: More things to transplant, delay large.
Both of these approaches have been implemented, depending on the requirements of the choice of different scenarios.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Video Surveillance System: C/S & B/S