-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Internal runtime error while adding new source to ConcatenatingMediaSource #4814
Comments
Are you by any chance calling |
Or |
Nope, I am not. Just creating those sources and feeding them to concatenatingMediaSource.
The only release call I make is player.release(); once user is done with playing. First MediaSource doesn't cause a problem, it starts playing, everything is fine. But once I fetch next clips (1 or 2) and try to add them this exception occurs. I also must say that an application with previous version of exoplayer (2.8.1) worked perfectly fine in production on 10k+ devices. |
@AquilesCanta - f1fe1c4 broke the ability to call @jaloveast1k - As a workaround you can create a new |
…instance This allows creating multiple HLS media sources from a single Factory, as required by the interface. Issue:#4814 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=213297850
So, I just updated from version
implementation 'com.google.android.exoplayer:exoplayer-core:2.8.1'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.8.1'
to version
implementation 'com.google.android.exoplayer:exoplayer-core:2.8.4'
implementation 'com.google.android.exoplayer:exoplayer-hls:2.8.4'
And on most devices and emulators application started crashing, even tho it's still works fine on my main OnePlus 3 Android 8.0.
Exception occurs once I add an additional data source(-s) to ConcatenatingMediaSource in order to start preloading process of the next clips.
Here is first exception:
I checked out the source code of DefaultHlsPlaylistTracker and I am kinda confused. The only place where initialPlaylistLoader sets to non null value is.. right after it gets checked on being non-null and Exception gets thrown.
Thank you in advance.
The text was updated successfully, but these errors were encountered: