I got the follow error when I run setAudioSource and setVideoSource.
03-16 10:26:25.302: ERROR/audio_input(52): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value
03-16 10:26:25.302: ERROR/audio_input(52): VerifyAndSetParameter failed
03-16 10:26:25.302: ERROR/C开发者_JS百科ameraInput(52): Unsupported parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)
03-16 10:26:25.302: ERROR/CameraInput(52): VerifiyAndSetParameter failed on parameter #0
This error happen on both emulator and the device. (I am using Google nexus one)
I have set the CAMERA and RECORD_AUDIO user permission already. I spent many days but I still cannot figure out what is the cause of this runtime error.
You're probably requesting camera and/or sound input parameters that the system doesn't support. You can use Camera.Parameters.getSupportedXX()
functions to query for supported parameters.
精彩评论