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. Garbled extracted XML resources

Hello,
When I extract a XML file from res/layout in an APK file it is garbled
up. How can I fix this?
Thanks,
Isaac
--~--~---------~--~----~------------~-------~--~----~

2. How to wait for an activity under test to launch?

Hi,

I am writing tests using the Android test framework
"ActivityInstrumentationTestCase2". In this after launching an
activity I want to wait till it gets fully launched and then proceed.

I tried these but none of them work.
1. getInstrumentation().waitForIdleSync();
2. while (!getActivity().isFinishing())
          Thread.sleep(100);


As a result my test code and the application under test are not in
sync.

Thanks
Yasser
--~--~---------~--~----~------------~-------~--~----~

3. Canvas.drawBitmapMesh()

4. Anyway one have experience with INJECT_EVENT ?

5. QVGA screen resolution applications

6. Trying to invoke Google Gears from Android browser

7. CameraPreview: Out of memory