Problem on setting Audio source of MediaRecorder

All your problems with Audio, Video and Images.

Problem on setting Audio source of MediaRecorder

Postby nunotms » Fri Feb 19, 2010 3:33 am

When i set the Audio source like this

Code: Select all
recorder.setAudioSource(MediaRecorder.AudioSource.MIC);


I get these two error:

ERROR/audio_input:
unsupported parameter: x-pvmf/media-input-node/cap-config interface;valtype=key_specific_value

ERROR/audio_input:
VerifyAndSetParameter failed


Anyone know how to solve this?
nunotms
Freshman
Freshman
 
Posts: 4
Joined: Wed Feb 10, 2010 10:22 am

Top

MediaRecorder

Postby delavega.matias » Tue Feb 23, 2010 3:14 pm

nunotms:
If you are recording your output to de sdcard you should declare WRITE_EXTERNAL_STORAGE uses-permission in your Manifest file, this could be a possible fix to your problem. Try this and let me know if it worked:
Code: Select all
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"></uses-permission>

Hope this helped. Take care.
delavega.matias
Once Poster
Once Poster
 
Posts: 1
Joined: Tue Feb 23, 2010 3:06 pm

Postby nunotms » Wed Feb 24, 2010 7:50 am

delavega.matias:

Thanks for your reply.
But it is not the case this time.

The WRITE_EXTERNAL_STORAGE uses-permission is not useful.
Since the errors come out at setting the Audio source but not the output destination.

In fact I still try adding the code, but it seems no help.

Again, thanks for your reply :)
nunotms
Freshman
Freshman
 
Posts: 4
Joined: Wed Feb 10, 2010 10:22 am

Setting for audio

Postby Deepa_B » Thu Feb 25, 2010 10:32 pm

I am having a similar problem did you find any solution to your problem
Deepa_B
Once Poster
Once Poster
 
Posts: 1
Joined: Thu Feb 25, 2010 9:58 pm

Postby r0yalty » Mon Apr 05, 2010 6:29 pm

I get the same issue, any solutions yet?
r0yalty
Freshman
Freshman
 
Posts: 5
Joined: Sun Apr 04, 2010 7:26 am

Postby congzing » Wed Apr 07, 2010 5:47 am

you can use this code in file manifest
Code: Select all
<uses-permission android:name="android.permission.RECORD_AUDIO" />
Embrace our dream
congzing
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Apr 07, 2010 2:50 am
Location: Viet Nam

Top

Postby primos » Wed Apr 07, 2010 9:17 am

Did enyone find the solution to this problem?

It seems that the bug persist in android 2.0.2 and above... Am I right?
primos
Once Poster
Once Poster
 
Posts: 1
Joined: Wed Apr 07, 2010 9:14 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 25 guests