live video streaming in android 1.6 gives error

爱⌒轻易说出口 提交于 2019-12-23 04:14:10

问题


I have this video streaming code in android2.2

VideoView videoView = (VideoView) findViewById(R.id.surface_view);
MediaController mc = new MediaController(this);
mc.setAnchorView(videoView);
mc.setMediaPlayer(videoView);
Uri video = Uri.parse(URL);
videoView.setMediaController(mc);
videoView.setVideoURI(video);
videoView.start();

But it doesnt work on android 1.6 it gives the error

11-22 10:39:33.245: ERROR/PlayerDriver(31): Command PLAYER_INIT completed with an error or info UNKNOWN PVMFStatus
11-22 10:39:33.245: ERROR/MediaPlayer(256): error (200, -32)
11-22 10:39:33.255: ERROR/MediaPlayer(256): Error (200,-32)

来源:https://stackoverflow.com/questions/4242479/live-video-streaming-in-android-1-6-gives-error

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!