MediaRecorder: unsupported paramter

by Arron » Thu, 28 Jan 2010 15:11:33 GMT


Sponsored Links
 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.

--



MediaRecorder: unsupported paramter

by 3pei » Fri, 29 Jan 2010 07:42:59 GMT


 I have encountered this too.




--


Sponsored Links


MediaRecorder: unsupported paramter

by Rog茅rio de Souza Moraes » Sat, 10 Apr 2010 01:04:55 GMT


 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 <333...@gmail.com>


>



Other Threads

1. It's the Apps, Stupid!

Anyone think Google should have a certification process for apps?
Continue to allow most apps but for an extra small fee have apps given
a seal of approval?  This would give confidence in the market,
something iPhone users enjoy and Apple uses for marketing.


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

2. Issue with alarm clock

Hi guys,
I am overriding the functionalities of current android alarm clock. As
of now, if we have set two alarm of ,say, 10:10 and 10:15, now if the
first alarm pops up at 10:10, and we click on snooze button(snooze
time: 10 mins), then it says that the snooze will not be set since
there is already an alarm in between(the 10:15th one). Here i want to
both the alarm(i.e, snoozed one and 10:15th one) to be set.
Any ideas???

Thanx a lot
--~--~---------~--~----~------------~-------~--~----~

3. how to load a .so library in a apk?

4. Getting content in browser launched activity

5. Using AsyncTask as Serializable or Parcelable --> To void activity destruction(orientation or during incoming phone call)

6. How to use PopupWindow()

7. referencing projects in eclipse