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

罗索

Android Stagefright NuPlayer for HTTP live streaming

jackyhwei 发布于 2011-08-10 16:17 点击:次 
Android 3.x中将HTTP Live streaming的处理单独出来一个NuPlayer,独立于Stagefright这个框架。应该是针对Http Live的特点做了相关优化。Http Live streaming是未来流媒体发展的一个趋势,这个我会紧跟。
TAG:

Android 3.x中将HTTP Live streaming的处理单独出来一个NuPlayer,独立于Stagefright这个框架。应该是针对Http Live的特点做了相关优化。

    Http Live streaming是未来流媒体发展的一个趋势,这个我会紧跟。

    Android 2.x中Http Live视频的体验是远远比不了iPad的。不知3.x中是否将这块儿独立出来后有所改善。目前评测的几款Android 3.x Pad在多媒体这块儿都还做得很不够,支持的格式不够多,仅有的几种格式还支持得不全。

    HTTP Live Streaming is separated from Stagefright on the recent release, which is basically another light-weighted playback engine, except it only supports the fixed container and codecs format currently.

    It seems that the author really prefers rewriting than refactoring:)

    Unlike Awesomeplayer, NuPlayer is built upon Stagefright's foundation classes, and leverages the Looper/Handlers mechanism to handle requests asynchronously by queuing them in a message loop, so there are less mutex/lock in place.

  • NuPlayer::Source is the parser module. Actually its interface looks like a combination of MediaExtractor and MediaSource, and it also makes seekTo as an explicit API now.
  • NuPlayer::Decoder connects to ACodec for AVC decoding, and to DecoderWrapper for AAC decoding, which in turn wrapps AAC software decoder in the OpenMAX style. ACodec is functionally similar as OMXCodec in Stagefright, besides the application of State pattern and passing MediaBuffers around with messages.
  • NuPlayer::Render is responsible for rendering audio and also controls when to post video buffers back to NativeWindow for A/V sync.

需要翻墙:

http://freepine.blogspot.com/2011/05/nuplayer-for-http-live-streaming.html

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