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

Issue with HLS playback #140

Open
dinesh1301 opened this issue Feb 9, 2021 · 4 comments
Open

Issue with HLS playback #140

dinesh1301 opened this issue Feb 9, 2021 · 4 comments

Comments

@dinesh1301
Copy link

I tried playing hls videos using kohii and exoplayer, found the following error. After researching I found that this bug was fixed in latest version(2.12.x) of exoplayer however currently kohii does not support 2.12.x. Is there a way out of this? Is it possible to support (2.12.x) exoplayer or find a possible fix for this issue.

      com.google.android.exoplayer2.ParserException: Loading finished before preparation is complete.
        at com.google.android.exoplayer2.source.hls.HlsSampleStreamWrapper.maybeThrowPrepareError(HlsSampleStreamWrapper.java:260)
        at com.google.android.exoplayer2.source.hls.HlsMediaPeriod.maybeThrowPrepareError(HlsMediaPeriod.java:164)
        at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:619)
        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:329)
        at android.os.Handler.dispatchMessage(Handler.java:103)
        at android.os.Looper.loop(Looper.java:214)
        at android.os.HandlerThread.run(HandlerThread.java:67)```
@eneim
Copy link
Owner

eneim commented Feb 9, 2021

@dinesh1301 The latest Kohii version is compatible with 2.11.8. 2.12.x is not supported yet. I plan to wait and go to support 2.13.x directly. Please use the 2.11.8 dependency for your app for now.

@adityapatadia
Copy link

@eneim we have found out that the issue happens when there is HLS stream which uses byte-range. Is there a bug in kohii or exoplayer related to this?

@adityapatadia
Copy link

We are really stuck here. I would appreciate if we can get some resolution here.

@adityapatadia
Copy link

Also 2.13.x is released so would be great to see kohii updated to support that. It might solve this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants