1

I need to provide music download service and I want to play it on Android, but it needs progressive download if I don't want to download the whole file before palying, I search it on Google but get nothing about implementation but some configuration about IIS, I'm using WAMP on my PC , what should I do?

More precisely , How could I play the music while downloading it from my server? It seems I need implement something thing different on my server.

ggaaooppeenngg
  • 1,323
  • 3
  • 17
  • 27
  • Are you looking for chunked download? – PeeHaa Aug 11 '14 at 10:33
  • 1
    if u willing to do it with PHP you can read 20% or 10% of mp3 file size – Kodr.F Aug 11 '14 at 10:34
  • 1
    "Progressive" typically just means that the download, well, *progresses*. The file is simply being downloaded from start to finish, and probably played at the same time. That is opposed to "adaptive", in which the server will adapt to the download capacity of the client and send higher or lower bit rates and can switch between rates on the fly. – deceze Aug 11 '14 at 10:37
  • It seems you want to implement the `Range` http header. http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.35 – Marek Aug 11 '14 at 10:52
  • 1
    …Or are you llooking for media streams? – feeela Aug 11 '14 at 10:52
  • I cant immagine why you're using both IIS and WAMP. PHP over IIS is different from PHP over WAMP (as WAMP goes with Apache) – jondinham Aug 11 '14 at 10:53
  • And another thing: are you going to listen to streaming music through Android application (Java) or Android Browser (JavaScript+embed)? – jondinham Aug 11 '14 at 10:55
  • For more precisely How Could I play the music while downloading the file from my server on Android ? .Yes I know media streams and Range, I mean I want some form like how youtube play the media, and from my search I need progressive download for the mediaplayer of Android APP. And I know apache is different from IIS, I just make an example. – ggaaooppeenngg Aug 11 '14 at 10:57

0 Answers0