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

Player gets stuck when seeking after auto transitioning from audio file to hls #223

Open
JaCobbMedia opened this issue Dec 14, 2022 · 0 comments
Assignees
Labels

Comments

@JaCobbMedia
Copy link

Hello,

Didn't want to register this as a bug because I'm not really sure if this is Media3 issue or there's an issue with our content.

The problem that I'm having is that I have for example 2 items in player's queue - first one is audio file (mp3) and second one is HLS video stream. After auto transitioning we're doing player.seekTo() so that user could continue listening from where he/she has previously finished, but player gets stuck in BUFFERING state and doesn't seem to load. I couldn't see anything wrong in logs from EventLogger. Tried different HLS files, but problem still persisted, then tried with different mp3s and that actually helped. So I'm not really sure wether this is our content issue or ExoPlayer's one?

I've forked media repo and created a separate branch for demo-session app where issue is easily reproducable.

Steps to reproduce:

  1. Clone https://github.com/JaCobbMedia/media3-testing/
  2. Chekout hls-seek-bug branch
  3. Build demo-session app
  4. Play anything (it will override with custom queue)
  5. Seek almost to the end of first item
  6. Wait for player to transition
  7. Second item gets stuck in buffering state and never loads video, unless you move app to background or go to different screen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants