Skip to content

getCurrentPosition() returning incorrect value which is larger than video duration #2224

@ashiagr

Description

@ashiagr

Hi

I'm running ExoPlayer r2.1.0 on Nexus 5x with Android 7.0

When I play this HLS video , the playback position displayed is very large as if its some elapsed time from a clock. Here's a screenshot: http://imgur.com/VReQ5ws. Because of this the seek bar position is not updated as current position is larger than video duration.

The issue is reproducible in the Exoplayer release-v2 branch demo app for above video. Just replace any HLS video link inside media.exolist.json with above video link.

Any ideas on why this happens and how we can eliminate it?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions