(Android SDK中2.1)获取错误,当我使用setAudioSource和setVideoSource [英] (Android SDk 2.1) Getting error when I use setAudioSource and setVideoSource

查看:343
本文介绍了(Android SDK中2.1)获取错误,当我使用setAudioSource和setVideoSource的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我得到了如下错误,当我跑setAudioSource和setVideoSource。

I got the follow error when I run setAudioSource and setVideoSource.

10月3日日至16日:26:25.302:ERROR / audio_input(52):不支持的参数:X-PVMF /媒体输入节点/帽配置界面; valtype = key_specific_value

03-16 10:26:25.302: ERROR/audio_input(52): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value

10月3日日至16日:26:25.302:ERROR / audio_input(52):VerifyAndSetParameter失败。

03-16 10:26:25.302: ERROR/audio_input(52): VerifyAndSetParameter failed

10月3日日至16日:26:25.302:ERROR / CameraInput(52):不支持的参数(X-PVMF /媒体输入节点/帽配置界面; valtype = key_specific_value)

03-16 10:26:25.302: ERROR/CameraInput(52): Unsupported parameter(x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value)

10月3日日至16日:26:25.302:ERROR / CameraInput(52):VerifiyAndSetParameter失败的参数#0

03-16 10:26:25.302: ERROR/CameraInput(52): VerifiyAndSetParameter failed on parameter #0

此错误两个仿真器和设备发生。 (我用谷歌Nexus One)

This error happen on both emulator and the device. (I am using Google nexus one)

我已经设置了摄像头和RECORD_AUDIO用户权限了。我花了很多天,但我仍然无法弄清楚这是什么运行时错误的原因。

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.

推荐答案

您很可能要求摄像头和/或声音系统不支持输入参数。您可以使用 Camera.Parameters.getSupportedXX() 功能来查询支持的参数。

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.

这篇关于(Android SDK中2.1)获取错误,当我使用setAudioSource和setVideoSource的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆