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

--



Other Threads

1. Hello world !

Hello world

--~--~---------~--~----~------------~-------~--~----~

2. How do you detect target platform characteristics?

Is there an API for interrogating the handset for physical and
operating characteristics such as number/type of buttons, QWERTY,
accelerometer, screensize, etc. Is there any minimum set of features
that Android apps can assume to be present on a handset?

--~--~---------~--~----~------------~-------~--~----~

3. Creating the Dynamic tabs from other Activity

4. +1

5. Posting AlertDialogs from the Options Menu?

6. Does one really need to have a data plan with G1 if you use Wifi + voice?

7. How to make surfaceview insensitive to touch Events