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
java.lang.IllegalStateException at com.google.android.exoplayer2.util.Assertions.checkState thrown when connection is throttled playing HLS stream
#8890
Closed
aryehbaker opened this issue
Apr 30, 2021
· 2 comments
Exoplayer stops functioning when throttling API 30 emulator to network Type 'HSDPA' and signal strength 'poor'
Using the IMA DAI Advanced Example with the Buck Bunny stream, before 10 ad breaks play the player stalls and the logcat shows:
com.google.ads.interactivemedia.v3.samples.videoplayerapp E/ExoPlayerImplInternal: Playback error
com.google.android.exoplayer2.ExoPlaybackException: Unexpected runtime error
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:586)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)
Caused by: java.lang.IllegalStateException
at com.google.android.exoplayer2.util.Assertions.checkState(Assertions.java:86)
at com.google.android.exoplayer2.source.hls.HlsMediaChunk.getFirstSampleIndex(HlsMediaChunk.java:319)
at com.google.android.exoplayer2.source.hls.HlsSampleStreamWrapper.skipData(HlsSampleStreamWrapper.java:638)
at com.google.android.exoplayer2.source.hls.HlsSampleStream.skipData(HlsSampleStream.java:86)
at com.google.android.exoplayer2.BaseRenderer.skipSource(BaseRenderer.java:427)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.maybeDropBuffersToKeyframe(MediaCodecVideoRenderer.java:1059)
at com.google.android.exoplayer2.video.MediaCodecVideoRenderer.processOutputBuffer(MediaCodecVideoRenderer.java:891)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.drainOutputBuffer(MediaCodecRenderer.java:1854)
at com.google.android.exoplayer2.mediacodec.MediaCodecRenderer.render(MediaCodecRenderer.java:824)
at com.google.android.exoplayer2.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:947)
at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:223)
at android.os.HandlerThread.run(HandlerThread.java:67)
The text was updated successfully, but these errors were encountered:
aryehbaker
changed the title
com.google.android.exoplayer2.source.BehindLiveWindowException thrown when connection is throttled playing HLS stream
java.lang.IllegalStateException at com.google.android.exoplayer2.util.Assertions.checkState thrown when connection is throttled playing HLS stream
May 3, 2021
Exoplayer stops functioning when throttling API 30 emulator to network Type 'HSDPA' and signal strength 'poor'
Using the IMA DAI Advanced Example with the Buck Bunny stream, before 10 ad breaks play the player stalls and the logcat shows:
The text was updated successfully, but these errors were encountered: