Audio and Video Issue in android application....

by dileep » Fri, 06 Nov 2009 06:47:08 GMT


Sponsored Links
 Hi Friends,

Did anyone try playing audio/video through http/rtsp. I am having a
problem with either of the approach....
I am getting an error Command PLAYER_INIT completed with PVMFError
I some cases I got
Command PLAYER_INIT completed with
PVMFErrorContentInvalidForProgressiveDownoload.

Can some one explain what is the problem.
The code snippet I am using is given below...

-----------------------
--------------
VideoView mVideoView = (VideoView) findViewById(---------);
 mVideoView.setVideoPath(" http://192.168.1.143 :8080/3.3gp");
            mVideoView.setMediaController(new MediaController(this));
            mVideoView.requestFocus();
            mVideoView.start();


The code works fine when I say
mVideoView.setVideoPath("/sdcard/vv.3gp");
but not able to play if I give a rtsp/http urls

In case of http it says PVMFErrorContentInvalid for progressive
download....

Can some body tell me what is the problem.
Can you please post the code if someone has been successful in playing
audio/video through http/rtsp.....

Thanks & Regards
DileepKumar
mail: dileepkumar.renint...@gmail.com

--