Skip to content

Support OGG fails with non-contiguous pages #7230

@billyjoker

Description

@billyjoker

Issue description

Using the Exoplayer demo app, i've replaced the existing OGG file with another OGG file and it fails the playback

Reproduction steps

1- I open the Exoplayer demo app and i select the existing OGG file with uri
2- Playback is rightly played
3- I have placed my content inside the media.exolist.json
4- I open the Exoplayer demo app and i select that file
5- Playback Failed

      {
        "name": "Google Play (Ogg/Vorbis)",
        "uri": "https://ia800300.us.archive.org/16/items/pink_fairy_book_1010_librivox/pinkfairybook_04_lang.ogg"
      },

Important: the file plays right if i use the Google Chrome navigator

Full bug report captured from the device:

E/ExoPlayerImplInternal: Source error
      com.google.android.exoplayer2.ParserException: Loading finished before preparation is complete.
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod.maybeThrowPrepareError(ProgressiveMediaPeriod.java:236)
        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:98)
        at android.os.Looper.loop(Looper.java:148)
        at android.os.HandlerThread.run(HandlerThread.java:61)
04-14 10:07:05.417 15715-15715/principal.apps.cuentacuentos E/EventLogger: playerFailed [eventTime=0.98, mediaPos=0.00, window=0, period=0
      com.google.android.exoplayer2.ExoPlaybackException: com.google.android.exoplayer2.ParserException: Loading finished before preparation is complete.
        at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:394)
        at android.os.Handler.dispatchMessage(Handler.java:98)
        at android.os.Looper.loop(Looper.java:148)
        at android.os.HandlerThread.run(HandlerThread.java:61)
     Caused by: com.google.android.exoplayer2.ParserException: Loading finished before preparation is complete.
        at com.google.android.exoplayer2.source.ProgressiveMediaPeriod.maybeThrowPrepareError(ProgressiveMediaPeriod.java:236)
        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:98) 
        at android.os.Looper.loop(Looper.java:148) 
        at android.os.HandlerThread.run(HandlerThread.java:61) 

Version of ExoPlayer being used is 2.11.4

Nexus 5 with Marshmallow 6.0.1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions