Sunday, 20 January 2019

How to let Exo Player buffer a local file

Am new to Exo player, trying to play a video. I want the Exo player to buffer the video file where the video file is parallelly downloading from the internet. I know Exo player supports streaming from an HTTP source, but my requirement is to stick to a local file currently.

Exo player is throwing this Loader Exception when seeking to a position which hasn't been downloaded.

E/ExoPlayerImplInternal: Source error. com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected IllegalStateException: No valid varint length mask found



from How to let Exo Player buffer a local file

1 comment:

  1. I am also getting same error. If you get any solution let me know also??

    ReplyDelete