织梦CMS - 轻松建站从此开始!

罗索

HTTP Live Streaming 学习笔记

落鹤生 发布于 2012-08-06 09:39 点击:次 
昨天折腾了下和HTTP Live Streaming 相关的咚咚。。。其实,这个水很深,要看要学的还很多,粗略记几笔。
TAG:

“人生一梦,白云苍狗。错错对对,恩恩怨怨,终不过日月无声、水过无痕。所难弃者,一点痴念而已!”

昨天折腾了下和HTTP Live Streaming 相关的咚咚。。。其实,这个水很深,要看要学的还很多,粗略记几笔。

HTTP Live Streaming lets you send audio and video over HTTP from an ordinary web server for playback on iOS-based devices—including iPhone, iPad, iPod touch, and Apple TV—and on desktop computers (Mac OS X). HTTP Live Streaming supports both live broadcasts and prerecorded content (video on demand). HTTP Live Streaming supports multiple alternate streams at different bit rates, and the client software can switch streams intelligently as network bandwidth changes. HTTP Live Streaming also provides for media encryption and user authentication over HTTPS, allowing publishers to protect their work.

详细的资料: HTTP Live Streaming (draft-pantos-http-live-streaming-06 )   &http://en.wikipedia.org/wiki/HTTP_Live_Streaming

还是图片比文字要更直观易懂些: ( 前2张来自APPLE <HTTP Live Streaming Overview>, 后一张来自Akami <Akamai_HDNetwork_Encoding_BP_iPhone_iPad> )

# APPLE


# Akamai 解决方案

看过了这三张图,是不是一目了然了呢?...

# 再来看些访问log...

192.168.0.101 - - [23/Sep/2011:15:14:45 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8L1 (iPhone; U; CPU OS 4_3_5 like Mac OS X; zh_cn)" 0
192.168.0.100 - - [23/Sep/2011:15:14:45 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 93 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; zh_cn)" 0
192.168.0.100 - - [23/Sep/2011:15:14:45 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; zh_cn)" 0
192.168.0.100 - - [23/Sep/2011:15:14:46 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; zh_cn)" 0
192.168.0.100 - - [23/Sep/2011:15:14:46 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 93 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; zh_cn)" 0
192.168.0.101 - - [23/Sep/2011:15:14:46 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 93 "-" "AppleCoreMedia/1.0.0.8L1 (iPhone; U; CPU OS 4_3_5 like Mac OS X; zh_cn)" 0
192.168.0.100 - - [23/Sep/2011:15:14:48 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 200 93 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; zh_cn)" 0
192.168.0.101 - - [23/Sep/2011:15:14:49 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 2 "-" "AppleCoreMedia/1.0.0.8L1 (iPhone; U; CPU OS 4_3_5 like Mac OS X; zh_cn)" 0
192.168.0.100 - - [23/Sep/2011:15:14:50 +0800] "GET /hls_test/sample_ep_512k-00001.ts HTTP/1.1" 200 1391200 "-" "AppleCoreMedia/1.0.0.8J2 (iPad; U; CPU OS 4_3_3 like Mac OS X; zh_cn)" 2
192.168.0.101 - - [23/Sep/2011:15:14:52 +0800] "GET /hls_test/stream_ep_512k.m3u8 HTTP/1.1" 206 93 "-" "AppleCoreMedia/1.0.0.8L1 (iPhone; U; CPU OS 4_3_5 like Mac OS X; zh_cn)" 0

 其实这个也还是蛮好玩的 ;-)

(K.Ï.Ï.S)
本站文章除注明转载外,均为本站原创或编译欢迎任何形式的转载,但请务必注明出处,尊重他人劳动,同学习共成长。转载请注明:文章转载自:罗索实验室 [http://www.rosoo.net/a/201208/16192.html]
本文出处:百度博客 作者:K.Ï.Ï.S 原文
顶一下
(2)
100%
踩一下
(0)
0%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
将本文分享到微信
织梦二维码生成器
推荐内容