I've been using androids MediaPlayer to stream from an http url and
have a question about seeking.  Currently, our urls expire after they
have been used once or a certain time out has expired to dissuade
scraping content.  Now, this obviously makes progressive streaming
past the buffer impossible with the exact same url as you need to open
a new http connection with the same mangled key, which we
intentionally don't allow.

However, MediaPlayer seems to do this when seeking before the current
position (i.e. seeking from 1:00 in the audio to 0:30).  As the file
has already been downloaded up to the current position I'm confused as
to why MediaPlayer is still trying to initate a new http connection in
this case?  The only thing I can think of is that MediaPlayer is
getting rid of audio its already played up to the current position,
and hence needs to restart the connection if you try to seek back on
the stream.  Is this correct, or is there something else going on?

Thanks,
Ed

--~--~---------~--~----~------------~-------~--~----~
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