martinbonnin / ExoPlayer

Apache License 2.0
22 stars 3 forks source link

HLS live steaming error. #8

Closed crossle closed 10 years ago

crossle commented 10 years ago
E/ExoPlayerImplInternal( 1538): java.lang.ArrayIndexOutOfBoundsException: length=12; index=-10
E/ExoPlayerImplInternal( 1538):     at java.util.ArrayList.get(ArrayList.java:310)
E/ExoPlayerImplInternal( 1538):     at com.google.android.exoplayer.hls.HLSSampleSource.continueBuffering(HLSSampleSource.java:381)
E/ExoPlayerImplInternal( 1538):     at com.google.android.exoplayer.MediaCodecTrackRenderer.doSomeWork(MediaCodecTrackRenderer.java:376)
E/ExoPlayerImplInternal( 1538):     at com.google.android.exoplayer.MediaCodecAudioTrackRenderer.doSomeWork(MediaCodecAudioTrackRenderer.java:266)
E/ExoPlayerImplInternal( 1538):     at com.google.android.exoplayer.ExoPlayerImplInternal.doSomeWork(ExoPlayerImplInternal.java:407)
E/ExoPlayerImplInternal( 1538):     at com.google.android.exoplayer.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:203)
E/ExoPlayerImplInternal( 1538):     at android.os.Handler.dispatchMessage(Handler.java:98)
E/ExoPlayerImplInternal( 1538):     at android.os.Looper.loop(Looper.java:136)
E/ExoPlayerImplInternal( 1538):     at android.os.HandlerThread.run(HandlerThread.java:61)
E/ExoPlayerImplInternal( 1538):     at com.google.android.exoplayer.ExoPlayerImplInternal$1.run(ExoPlayerImplInternal.java:109)
``
crossle commented 10 years ago
E/HLSSampleSource( 6077): ========sequence=2146================variantPlaylist.mediaSequence=2141
D/HLSSampleSource( 6077): opening http://g3.ak.hls.ttvnw.net/hls11/sodakite_10772148576_134245012/high/index-0000002146-WUHa.ts
E/HLSSampleSource( 6077): ========sequence=2147===============variantPlaylist.mediaSequence=2141
D/HLSSampleSource( 6077): opening http://g3.ak.hls.ttvnw.net/hls11/sodakite_10772148576_134245012/high/index-0000002147-12VY.ts
E/HLSSampleSource( 6077): ========sequence=2148===============variantPlaylist.mediaSequence=2153

Dont know why sequence < variantPlaylist.mediaSequence ?

martinbonnin commented 10 years ago

should be fixed with 0ba19f125fc31492f2c2a5cc44e54b2b697c74fb