HTML5 can support rtmp but cannot play RTSP compatible browsers __html

Source: Internet
Author: User

The specific parameters in the code meaning, you can go here:

https://wiki.videolan.org/Documentation:WebPlugin/

Looking for half a day, HTML5 can support rtmp but can't play Rtsp,flash also stop in Rtmp, finally colleagues recommended a good East open source VLC, ask Google great God, this goods can be used to make each browser (IE ActiveX mode, Google, FF) to achieve playback RTSP video stream, it is very good ~ ~ Nonsense not to mention the attached reference documents and cases, we see it.

Video is the use of the Hai Kang Network Camera (support RTSP, standard H.264 RTP packaging equipment), through the rtsp://admin:12345@192.0.0.64:81/h264/ch1/main/av_stream of the camera can read RSTP stream. In Google browser to implement the Web display real-time monitoring screen steps:

1. Download vlc-http://www.videolan.org/vlc/Open source of good things, and install (I test the system for WIN8.1 64bit download 32bit can, XP also no problem);

2. Installation, and check Mozila support;

3. Real-time playback code is as follows

<object type= ' application/x-vlc-plugin ' pluginspage= "http://www.videolan.org/" id= ' VLC ' events= ' false ' width= ' 720 "height=" 410 "> <param name= ' MRL ' value= ' rtsp://admin:12345@192.168.10.235:554/h264/ch1/main/av_
    Stream '/> <param name= ' volume ' value= ' '/> <param ' name= ' AutoPlay '
    true ' value=
    < param name= ' Loop ' value= ' false '/> <param name= ' fullscreen ' value= '
    false '/> <param '
    Controls ' value= ' false '/>
</object>

The specific parameters in the code meaning, you can go here:

https://wiki.videolan.org/Documentation:WebPlugin/

Description of the document is very detailed, you can use JS for a variety of operations, modify the video address, set up playlists, pause, playback, volume control.

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.