I am trying to create an application that streams video from android camera
to a desktop. I am testing it in a Nexus One Device. I created a application
based on the example of the file VideoCamera.java of Sipdroid and the file
VideoCamera.java of Camera application. The difference between them, is that
on Siproid the output of mMediaRecorder.setOutputFile is one socket and on
the Camera is a file. Now I am trying to write the data from Camera to a
file and later to the socket, but I am getting this error:

ERROR/CameraInput(437): Unsupported
parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)
ERROR/CameraInput(437): VerifiyAndSetParameter failed on parameter #0

I am looking for some fix to this, but until now no luck.

Any help is appreciated. The code is in the links bellow:

http://pastebin.com/yVQA1rTE
http://pastebin.com/6gKdJv5h

Regards,

Rogerio


2010/1/28 3pei <[email protected]>

> I have encountered this too.
>
> On Jan 28, 7:11 am, Arron <[email protected]> wrote:
> > I took the example from the API:
> >
> > MediaRecorder recorder = new MediaRecorder();
> >  recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
> >  recorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP);
> >  recorder.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB);
> >  recorder.setOutputFile(PATH_NAME);
> >  recorder.prepare();
> >  recorder.start();   // Recording is now started
> >
> > When I try to run this, I get the following:
> > ERROR/audio_input(30): unsupported parameter: x-pvmf/media-input-node/
> > cap-config-interface;valtype=key_specific_value
> >
> > Anyone knows what's wrong?
> >
> > Additionally the code example in the dev guide is completely wrong.
> > It uses code that don't even exist in the API.
> >
> > Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

To unsubscribe, reply using "remove me" as the subject.

Reply via email to