Android 1.6中的实时视频流提供错误

时间:2010-11-22 05:13:20

标签: android video-streaming

我在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();

但它在Android 1.6上没有用,它给出了错误

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)

0 个答案:

没有答案