When using an HLS playlist with multiple segments of content spliced 
together ( separated by EXT-X-DISCONTINUITY tags ), 
MediaPlayer.getCurrentPosition() doesn't return the correct position.  In 
this scenario, each piece of content has its timestamps starting from zero. 
  So for example, if at the 4 minute mark, there is a Discontinuity flag 
followed by a new piece of content, getCurrentPosition() reports the time 
as going back to 00:00 instead of 04:01  

Does anyone know a work around?   

Just a note that MediaPlayer.getDuration() does correctly return the full 
duration of all the content combined.

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