EasyNVR web camera without plug-H5, using Google Chrome broadcast program of RTSP determine whether or not the camera equipment online and snapshot

Creative Commons License Creative Commons

background analysis

EasyNVR well-known product of a small partner knows that as long as the configuration information IP, port, user name and password of the camera, you can address channel configuration is done by pure Web-based interactive way, you can access the device. If the device supports Onvif agreement, EasyNVR also on their own initiative detect that the device supports RTSP broadcast address, fill to complete the access automation equipment. Whether or RTSP address access Onvif probe found that access could have been straightforward Web interface operation to complete, the main function of the role include: RTSP protocol access equipment, Onvif protocol device detection and discovery, protocol devices connected Onvif the multi-channel configuration and unified management apparatus, a multi-channel streaming media access device and flow control.

Device access process, how do we discover whether the device is online? There is no simple method to operate it? This post mainly from the use of RTSP protocol to determine whether the device is online and snapshot setup issues.

1, is online

EasyNVR can Onvif / RTSP protocol access the camera, line status determination device there are many ways while there is no method. There are many ways to say means that the device can be used to ping ICMP protocol, may be connected to a specific port acquisition device, it determines whether or not a connection. You can also use RTSP protocol determination process, but there are questions: do not fly! ! ! Ban ping, port unknown, RTSP protocol is not standard, it will lead the state are not allowed. This is also why, because nothing approach.

Of course, as a professional webcam broadcast platform, EasyNVR must have reliable way to accurately determine whether the device is online, and that is to go RTSP stream flow pull, pull the stream are successful, and certainly online. Offline, online networking what is the use?

2, snapshot

Snapshot it is very simple, use our big kill EasyRTSPClient , timing pull the I frame transcoding saved as a picture, clear and concise.

3, good fit

See here, you might want to why not put online snapshot and determination to do with it? Yes, to grab a snapshot of our judgment as online or offline. In this way, the online status of the camera is "real" online.

Write pictures described here

Write pictures described here

EasyNVR scenarios

EasyNVR can be said to have become the vanguard of the domestic Internet video infrastructure, livelihood of the people in almost every industry have already had the ability to output video EasyNVR figure, EasyNVR years of service in all walks of life video infrastructure, EasyNVR reliability, integrity, stability It has been widely recognized in the industry!
EasyNVR stable and reliable
EasyNVR a scene

Ping site
! [EasyNVR Scene II] (https://img-blog.csdnimg.cn/20190614093232567.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L0Vhc3lOVlI=,size_16,color_FFFFFF,t_70)
Wisdom campus

About EasyNVR

EasyNVR have is a full, independent, controllable intellectual property rights, but also can have the function of security software and hardware integration of Internet streaming media server, network camera through a simple channel configuration, monitoring industry inside traditional high-definition network camera IP Camera , etc. with the NVR RTSP, Onvif protocol output device access to EasyNVR, EasyNVR these audio and video data can be video sources is a pull, is converted to RTMP / HLS, full internet terminal H5 live (Web, Android, iOS), and EasyNVR able to broadcast live video source of data to a third party CDN network, Internet-scale distributed. EasyNVR details you may visit the official website: http://www.easynvr.com
EasyNVR intellectual property rights

Guess you like

Origin blog.csdn.net/EasyNVR/article/details/91949383