android 对 hls http living stream的支持情况备忘

想通过html5 video tag播放hls视频

发现 android 4.x版本对hls的支持有限,只能播放,不能随机访问。

但是 魅族的 flyme 运行很好。


查了部分资料,得到的情况是:

android只在3.x版本中提供了对hls的完整支持,在4.1版本之后,将放弃对hls的支持以及对flash的支持,转向webm。

我的测试结果,4.0.x版本的三星note 或者 tab 可以播放hls但是不能vod seek

4.1.2版本的手机可以播放但是不能seek

http://www.360doc.com/content/10/1117/14/3779243_70124988.shtml

Android Supported Media Formats

http://developer.android.com/guide/appendix/media-formats.html


相关资料如下:

  • On Honeycomb, HLS playback crashes a tablet quite consistently. The version is of little concern though, since it has 2 percent market share and is shrinking.
  • On Ice Cream Sandwich (26 percent share), HLS plays, but VOD streams cannot be seeked. The aspect ratio is also not detected, leading to deformed images. When going full-screen, a video is re-started from the beginning (again with no support for seeking).
  • On Jelly Bean (3 percent share, but growing), the aspect ratio issue is fixed but the no-seek issue remains. Additionally, the new default browser (Chrome) does not understand HLS, leading to broken mimetype detection and an error message plus crash of the stream when taking it full-screen.

http://www.streamingmedia.com/Articles/Editorial/Featured-Articles/Jeroen-Wijering-Talks-HLS-DASH-and-the-JW-Player-6-86523.aspx


Unfortunately, Android 4.1 did drop support for Apple’s HTTP Live Streaming protocol, after having introduced it in version 3.0. Since Adobe Flash is alsono longer supported, adaptive streaming on Android is a significant a problem. It remains to be seen how Google will approach this going forward.


http://www.longtailvideo.com/blog/28958/the-state-of-html5-video-report-market-share-updates-text-tracks-mediasource-api-and-more/


打算编译一个android版本的vlc

http://wiki.videolan.org/AndroidCompile


RTSP android的支持也有些问题,对于live555

http://developer.android.com/guide/appendix/media-formats.html

http://www.jouhu.com/blog/?p=1046
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值