[RTSP] Hai Kang wei video surveillance camera to achieve the web end without plug-ins monitoring the actual beat effect
Detailed introduction See : http://live.cuplayer.com/RtspCameraLive.html
Web end without plug-in (PC, Android, iOS Apple system) Effect 1
Web end without plug-in (PC, Android, iOS Apple system) Effect 2
Web end without plug-in (PC, Android, iOS Apple system) Effect 3
Detailed introduction See : http://live.cuplayer.com/RtspCameraLive.html
1. Windows platform monitoring based on the RTSP protocol.
1.1 Select the Hai Kang Network Camera (support RTSP, standard H.264 RTP package equipment).
1.2. According to the camera's use instructions to deploy. Suppose the Access IP address is: http://192.168.0.64, after the login set output port is: 81, then the complete flow address is:
Main code Stream Rtsp://admin:12345@192.0.0.64:81/h264/ch1/main/av_stream Rtsp://admin:12345@192.0.0.64:81/mpeg-4/ch1/main/av _stream code stream: Rtsp://admin:12345@192.0.0.64/mpeg4/ch1/sub/av_stream rtsp://admin:12345@192.0.0.64/h264/ch1/sub/av_ Stream
1.3. A player that supports standard RTSP streaming media can play in real time.
2. Web monitoring based on active controls.
2.1. Choose the Hai Kang Network Camera and deploy, assuming the access address is: http://192.168.0.64:6666.
2.2. Accessing the Http://192.168.0.64:6666,IE browser prompts you to install an active control and store the active control locally (IPCameraActiveX.cab.cab).
2.3. Unpack Ipcameraactivex.cab, open Ipcameraactivex.inf file with Notepad, view Code snippet:
[Netvideoactivex23.ocx] File-win32-x86=thiscab Registerserver=yes clsid={cafcf48d-8e34-4490-8154-026191d73924} Destdir= fileversion=2,3,21,1
2.4. Record the "CLSID" above.
2.5. Register the above OCX control in the webpage, use JS to call the method of the control to login, view and so on operation (view other operation to find: Haikang OCX Control Interface document), the code is as follows: