java.io.IOException: setDataSourceFD fail
我想用一个手机录制视频,然后以流的形式传送到另一个手机播放,每次都是遇到这个错误,困扰一天了,纠结 啊
12-28 13:29:12.658: E/MediaPlayer(645): Unable to to create media player12-28 13:29:12.668: W/System.err(645): java.io.IOException: setDataSourceFD failed.: status=0x8000000012-28 13:29:12.678: W/System.err(645): at android.media.MediaPlayer.setDataSource(Native Method)12-28 13:29:12.678: W/System.err(645): at android.media.MediaPlayer.setDataSource(MediaPlayer.java:749)12-28 13:29:12.688: W/System.err(645): at perfecter.gen.wifi.VideoView.initPlayer(VideoView.java:39)12-28 13:29:12.688: W/System.err(645): at perfecter.gen.wifi.TestWifiActivity$1.handleMessage(TestWifiActivity.java:176)12-28 13:29:12.688: W/System.err(645): at android.os.Handler.dispatchMessage(Handler.java:99)12-28 13:29:12.688: W/System.err(645): at android.os.Looper.loop(Looper.java:123)12-28 13:29:12.688: W/System.err(645): at android.app.ActivityThread.main(ActivityThread.java:4627)12-28 13:29:12.688: W/System.err(645): at java.lang.reflect.Method.invokeNative(Native Method)12-28 13:29:12.688: W/System.err(645): at java.lang.reflect.Method.invoke(Method.java:521)12-28 13:29:12.698: W/System.err(645): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)12-28 13:29:12.698: W/System.err(645): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)12-28 13:29:12.698: W/System.err(645): at dalvik.system.NativeStart.main(Native Method)