Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Live HLS stream buffers from incorrect start time #4239

Closed
karyogamy opened this issue May 11, 2018 · 4 comments
Closed

Live HLS stream buffers from incorrect start time #4239

karyogamy opened this issue May 11, 2018 · 4 comments
Assignees
Labels

Comments

@karyogamy
Copy link

Issue description

Hi, I've just updated ExoPlayer from 2.7.3 to 2.8.0 and discovered some live hls streams cause the player to constantly buffer and never start playback. Specifically, live hls streams that have duration of a couple minutes or longer.

When playing these streams, the player seems to load the stream from the start rather than the live edge or the current seek position. Perhaps this causes the playback to stall until the stream is completely buffered up to the seek position, since when I seek to position 0, the playback starts, albeit with older content.

I suspect this might have something to do this commit, as when the change is reverted, the buffering problem is resolved.

Reproduction steps

  • Replace the HLS sample stream url in DemoUtil under demo-cast with the link below.
  • Switch between dev r2.7.3 and r2.8.0 branches and try to play the changed stream on both.

The playback on r2.7.3 should start quickly while other will take a while, or not at all if impatient.

Link to test content

http://adultswim-vodlive.cdn.turner.com/off-the-air/stream.m3u8

or any live hls stream with sufficiently long (>5min) duration.

Version of ExoPlayer being used

2.8.0, tested against 2.7.3

Device(s) and version(s) of Android being used

Emulator

@andrewlewis
Copy link
Collaborator

Pretty sure this is fixed but @AquilesCanta can reopen it if not.

@AquilesCanta
Copy link
Contributor

Please let us know if you still run into this issue with the current dev branch.

@karyogamy
Copy link
Author

Works flawlessly now on 2.8.1. Thank you.

@AquilesCanta
Copy link
Contributor

Thanks for confirming!

@google google locked and limited conversation to collaborators Sep 27, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants