HTML to realize the real-time monitoring of Hai Kang camera experience

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.