Recently, the company arranged to do some of the CCFA, one is to do a Web playback camera real-time monitoring. Baidu on the internet for a long time, many are directly with the VLC plug-in implementation, but the mainstream browser has not supported VLC plugin, engaged for a long time did not succeed.
Most of the online implementations are:
<object type=' application/x-vlc-plugin ' id=' VLC ' events=' True ' width= '720 ' height="540"
pluginspage= "http://www.videolan.org" codebase= "http://downloads.videolan.org/pub/videolan/ Vlc-webplugins/2.0.6/npapi-vlc-2.0.6.tar.xz ">
<param name= ' MRL ' value=rtsp://[username]:[password]@[ip]:[port]/[codec]/[channel]/[subtype]/ Av_stream "/>
<param name= ' volume ' value=
<param name= ' AutoPlay ' value= ' true '/>
<param name= ' Loop ' value= ' false '/>
<param name= ' fullscreen ' value= ' false '/>
</< Span class= "Hljs-title" >OBJECT>
The last implementation:
At the end of the test, there will be a delay of about 2 seconds, still within the acceptable range.
In fact, there is an implementation method, you can get the real-time video stream of the camera in the Java layer, and then play, and now in the study ...
HTML to realize the real-time monitoring of Hai Kang camera experience