You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2.2 develop branch.
User case: play several videos consecutive as playlist. customize media player to control moving forward or backward, which means customize seekto() function to find position cross the videos. Crash happens when call seekTo(int sourceIndex, long positionMs) .
java.lang.NullPointerException: Attempt to get length of null array
at com.google.android.exoplayer2.extractor.ExtractorSampleSource.getExtractedSamplesCount(ExtractorSampleSource.java:543)
at com.google.android.exoplayer2.extractor.ExtractorSampleSource.onLoadError(ExtractorSampleSource.java:428)
at com.google.android.exoplayer2.extractor.ExtractorSampleSource.onLoadError(ExtractorSampleSource.java:62)
at com.google.android.exoplayer2.upstream.Loader$LoadTask.handleMessage(Loader.java:393)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.os.HandlerThread.run(HandlerThread.java:61)
at com.google.android.exoplayer2.util.PriorityHandlerThread.run(PriorityHandlerThread.java:40)
The text was updated successfully, but these errors were encountered:
This should be fixed in dev-v2. There is still a known issue relating seeking and reuse of MediaPeriods which will likely be fixed in the next push. Thanks.
2.2 develop branch.
User case: play several videos consecutive as playlist. customize media player to control moving forward or backward, which means customize seekto() function to find position cross the videos. Crash happens when call seekTo(int sourceIndex, long positionMs) .
The text was updated successfully, but these errors were encountered: