The advantage of RTMP streaming protocol in video surveillance system

Source: Internet
Author: User
Tags advantage

RTMP is a TCP protocol that Flash player receives video from a video server. Adobe has released most of the RTMP protocol, although some details have not been disclosed, but for our own development of a rtmp server is enough, even if not open, many open-source projects have already made a lot of details of the agreement to clarify.

At present, many video surveillance system front-end devices are IP cameras, and these camera video formats are mostly mpeg4/h.264 format, the latest Flash player for both formats are supported. So the audio and video data from the IP camera is then sent to the RTMP server, and the RTMP server is packaged and forwarded to Flash Player in accordance with the RTMP protocol, enabling the audio and video of the IP camera to be played in Flash Player.

More and more video surveillance system has b/S page, which can greatly facilitate user's use. However, most of the video display in the B/S page is the use of ActiveX control to obtain audio and video from the server, which greatly reduces user convenience. Have the following disadvantages:

1. ActiveX controls need to be downloaded and will be slow to browse this page for the first time.

2. The use of ActiveX control requires permissions, the default IE browser will pop up the box installation, and if the ActiveX control does not pass the Microsoft digital signature, IE browser is not allowed to install, you need to set the security level of IE browser to install. Ordinary users can be very cumbersome to operate.

3. ActiveX control can only be used in IE core Browser, unable to support Chrome, Firefox and other browsers, and IE market share is getting smaller, has fallen below 50%. The use of ActiveX controls will force users to use IE browser, the user experience is not good, more directly cancel the non-Windows operating system users access to monitoring system power.

Instead, the RTMP streaming protocol has the following advantages:

1. More than 90% computers are equipped with Flash Player, can not download, directly watch the audio and video surveillance system. Chrome is built with Flash Player. Not relevant to the operating system, as long as the system with Flash Player installed can be viewed.

2. No permission required, see directly.

3. Support Live and on-demand (record playback for video surveillance)


Of course, the RTMP protocol also has some limitations, rtmp is based on the TCP protocol, and the TCP protocol real-time is not as good as UDP, also occupy bandwidth. The UDP-based RTMFP protocol developed by Adobe is a good solution to these problems, and the RTMFP protocol is not disclosed, but there is some information on the web that I believe will soon reveal the truth.


Transferred from: http://blog.csdn.net/zhengv/article/details/6140263

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.