The difference of HLS and http Progressive download streaming

本文深入解析了 Apple Inc. 开发的基于 QuickTime 和 iPhone 软件系统的 HTTP Live Streaming (HLS) 协议,阐述了其作为拟议 Internet 标准的初步阶段,并强调了 HLS 不仅适用于点播视频播放,也适用于直播事件的优势。通过对比 HLS 与 HTTP 流下载,文章详细说明了 HLS 在带宽成本节省、用户体验优化以及适应不同网络和屏幕条件方面的优势。

HLS (HTTP Live Streaming) Overview

HTTP Live Streaming is an HTTP-based media streaming communications protocol implemented by Apple Inc. as part of their QuickTime and iPhone software systems.  The protocol is in the first stage of being submitted to the IETF as a proposed Internet Standard.

The “Live” in the name is a bit misleading. HLS has many advantages for on-demand video playback as well as for live events.  Companies that use HLS can reduce bandwidth expense and improve user experience by optimizing video quality based on network conditions.

Is HLS the same as HTTP Progressive Download?

No. HTTP Progressive Download simply enables playback of a full video file to start prior to completing the full download of that file.  This is done primarily by placing the video’s atom (e.g. “table of contents”) at the beginning of the file.

HTTP Progressive Download is a very common technique used to emulate a streaming experience today.  However, in many ways it is inferior to true adaptive streaming.

  • The quality of the file is pre-determined.  A user watching from a mobile connection on a 3 inch screen will have the same video as a user watching from a cable modem connection on a 1080p TV at home.  The player is unable to dynamically adjust based on the user’s network and screen conditions.  Furthermore, if a user starts in a high-bandwidth environment, then moves to a low-bandwidth environment, HTTP Progressive Download is completely unable to keep pace.  HLS, however, handles this scenario gracefully with minimal rebuffering and lag.
  • Security is limited.  If a user gets access to the URL, they can download and share the entire file.  HLS can be instrumented to include dynamically changing security tokens with each 10-second clip.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值