开发者

(Android SDk 2.1) Getting error when I use setAudioSource and setVideoSource

开发者 https://www.devze.com 2022-12-23 14:40 出处:网络
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_specifi

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号