linsea / UniversalVideoView

A better Android VideoView with more Media Controller customization. 一个更好用的Android VideoView
https://github.com/linsea/UniversalVideoView
992 stars 272 forks source link

java.io.IOException: setDataSourceFD failed.: status=0x80000000 #53

Open hellomama opened 5 years ago

hellomama commented 5 years ago

播放本地mp4视频出现的错误

log如下 java.io.IOException: setDataSourceFD failed.: status=0x80000000 at android.media.MediaPlayer._setDataSource(Native Method) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1025) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:1009) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:988) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:944) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:891) at android.media.MediaPlayer.setDataSource(MediaPlayer.java:874) at com.universalvideoview.UniversalVideoView.openVideo(UniversalVideoView.java:322) at com.universalvideoview.UniversalVideoView.access$2100(UniversalVideoView.java:46) at com.universalvideoview.UniversalVideoView$7.surfaceCreated(UniversalVideoView.java:600) at android.view.SurfaceView.updateWindow(SurfaceView.java:572) at android.view.SurfaceView.access$000(SurfaceView.java:86) at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:175) at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:847) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1887) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1016) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5692) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:761) at android.view.Choreographer.doCallbacks(Choreographer.java:574) at android.view.Choreographer.doFrame(Choreographer.java:544) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:747) at android.os.Handler.handleCallback(Handler.java:758) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:136) at android.app.ActivityThread.main(ActivityThread.java:5021) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:515) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:785) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:601) at dalvik.system.NativeStart.main(Native Method)