android – Playback error E/ExoPlayer exoplayer2.ExoPlaybackException: Supply error (Whereas enjoying from inner storage) with community its working


VideoPlayerController.contentUri(Uri.parse(widget.videoUrl))
        ..initialize().then((worth) {
          videoPlayerController.play();
          videoPlayerController.setVolume(1);
        });

Playback error
E/ExoPlayerImplInternal( 5579): com.google.android.exoplayer2.ExoPlaybackException: Supply error
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleIoException(ExoPlayerImplInternal.java:632)
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.ExoPlayerImplInternal.handleMessage(ExoPlayerImplInternal.java:604)
E/ExoPlayerImplInternal( 5579): at android.os.Handler.dispatchMessage(Handler.java:102)
E/ExoPlayerImplInternal( 5579): at android.os.Looper.loop(Looper.java:223)
E/ExoPlayerImplInternal( 5579): at android.os.HandlerThread.run(HandlerThread.java:67)
E/ExoPlayerImplInternal( 5579): Brought on by: com.google.android.exoplayer2.upstream.FileDataSource$FileDataSourceException
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.upstream.FileDataSource.open(FileDataSource.java:121)
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.upstream.DefaultDataSource.open(DefaultDataSource.java:258)
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.upstream.StatsDataSource.open(StatsDataSource.java:84)
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.supply.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:1009)
E/ExoPlayerImplInternal( 5579): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:412)
E/ExoPlayerImplInternal( 5579): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
E/ExoPlayerImplInternal( 5579): at java.util.concurrent.ThreadPoolExecutor$Employee.run(ThreadPoolExecutor.java:641)
E/ExoPlayerImplInternal( 5579): at java.lang.Thread.run(Thread.java:923)
E/flutter ( 5579): [ERROR:flutter/lib/ui/ui_dart_state.cc(198)] Unhandled Exception: PlatformException(VideoError, Video participant had error com.google.android.exoplayer2.ExoPlaybackException: Supply error, null, null)

Leave a Reply