Brief introduction to the difference of HLS,HTTP,RTSP,RTMP protocol

Source: Internet
Author: User
Tags flv file
the difference between hls,http,rtsp,rtmp protocols: in HTTP mode:The FLV is downloaded to the local cache by the server, and then the FLV is played back through the local connection of the netconnection, which is to play the local video, not the video of the playing server. So this flv can be found in the local cache. The advantage is that the server downloaded this flv, the server is not consumed, save the server consumption. The disadvantage is that FLV is cached on the client side, and the privacy of the FLV is bad.

rtmp mode: connect to the FMS (Flash Media Server) or Red5 server via Netconnection, and play the server's FLV file in real-time, this way you can choose the video playing point, The advantage is that the FLV file cannot be found in the local cache, as it is not necessary to cache a full FLV file locally to select the playback point. Its advantage is that FLV will not be cached on the client, the privacy of FLV good, its disadvantage is to consume server resources, the connection is always real-time.

From the above analysis, the HTTP method is local playback, and rtmp mode is the server real-time playback. RTSP: The IPv4 of the RTSP 1.0 standard did not fully anticipate the rapid growth of Internet bandwidth, and the widespread use of NAT technology due to shortage of address, and the presence of proxy servers, which have some drawbacks in transmission reliability and usability. Although the manufacturers have done a certain degree of patching, such as supporting RTSP over HTTP, support NAT penetration, etc., but still does not help. After 2005 years of network video Big Bang, RTSP 1.0 didn't get the favor of YouTube, Hulu, potatoes, Youku and other video service providers, instead, Adobe developed private streaming technology rtmp with its excellent ease of use and rich media integration, has been sought after by most video service providers and has become a de facto standard. HLS (Http Living streaming): since 2010, Apple has started to support a streaming media technology called "Live Http" on iOS devices and has announced that it will not support RTSP and Flash technology on iOS. Live HTTP is essentially similar to an HTTP-based file fragment download. With ample bandwidth, live HTTP enables the same streaming effects as RTSP and rtmp, with better ease of use and easier control.
in the latest generation of hypertext Identity language HTML5, video file on-demand, as well as the use of HTTP as its hosting protocol.

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.