Hi guys,

I am currently doing something relevant to the HTTP Live Streaming and we
plan to realize a demo on the android platform. I noticed from the "Platform
Highlights" of Android 3.0 Platform that it currently supports the HTTP Live
Streaming. This is what is written on the website:

"*HTTP Live streaming*
Applications can now pass an M3U playlist URL to the media framework to
begin an HTTP Live streaming session. The media framework supports most of
the HTTP Live streaming specification, including adaptive bit rate"

However, in the "Android API Difference Report", I didn't found any new
class added and the modified classes are all seems not quite relevant to
HTTP Live Streaming. So I have two questions to ask and hope can find the
answer from you:

1. How to achieve HTTP Live Streaming using MediaPlayer class? Shall I
create a .m3u file with a set of URLs, then feed the .m3u file directly to
the MediaPlayer? For example if my .m3u file is named mylist.m3u, can I use
something like the following code?

MediaPlayer mp;
mp.setDataSource(mylist.m3u);
...

Or are there any other APIs I can use?

2. It mentions that the HTTP Live Streaming in Android 3.0 Platform supports
also the adaptive bit rate. Normally for a mobile device, the streaming bit
rate should be adaptive to the wireless bandwidth condition. Has the current
Android 3.0 Platform already realize it? If there is a video server holding
the multiple versions of the same video, how to implement an app that it can
adaptively switch between the different versions according to the bandwidth?
If somebody has the relevant experience, please help to inform me what APIs
you have used and which part of the code I should look into.

Thanks

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to