1

I'm about to implement an app consuming live-stream radio station resources. I've tested the same url on various platforms and noticed that versions from 2.2 to 4.0 take a lot more time to prepare while versions below those are almost instantly playing (haven't tested for 3.0 versions thought). I suppose it's somehow related to buffer size evaluation for live-streams which is mentioned here and here.

What can I do to provide the same pre 2.2 instant preparation for all android devices ? Thanks.

P.S. Android 4.0 prepares as good as 2.1 version - instantly.

Community
  • 1
  • 1
midnight
  • 3,385
  • 3
  • 32
  • 57
  • Did you ever find an answer to this? – AmITheRWord Apr 09 '13 at 14:26
  • 1
    I'm not sure whether this library http://code.google.com/p/aacplayer-android/ solves the issue with mp3 streams but I found it useful for playing aac streams without much delay. I think, I haven't changed my mind on the dependency between bit-rate and preparation speed in case Android2.x platform: the less bit-rate it is the more time it takes to fill the internal buffer and play a stream. – midnight Apr 10 '13 at 07:50
  • Thanks, although I'm worried about the patent stuff. – AmITheRWord Apr 10 '13 at 14:15

1 Answers1

0

Media player preparation depends on bit rate. Details is given bellow.

  1. MPR news stream: 27 seconds, 64 kbps
  2. MPR classical music stream: 15 seconds, 128 kbps
  3. MPR The Current stream: 7 seconds, 128 kbps
  4. PRI stream: 52 seconds, 32 kbps
anju
  • 1
  • 1