Cordova插件媒体捕获错误20 [英] Cordova plugin media capture error 20

查看:369
本文介绍了Cordova插件媒体捕获错误20的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用cordova媒体捕获包
https:// github .com / apache / cordova-plugin-media-capture

I'm using the cordova media capture package https://github.com/apache/cordova-plugin-media-capture

尝试使用时:

navigator.device.capture.captureVideo(captureSuccess, captureError, {limit:1});



我在我的IOS模拟器上收到一个错误:20。我真的找不到任何东西。
Cordova版本3.4
IOS版本8

I am getting a error:20 on my IOS simulator. I cant really find anything only. Cordova version 3.4 IOS version 8

任何人看到此错误之前?

Anyone seen this error before?

Cheers
Michael

Cheers Michael

推荐答案

错误代码20指的是媒体i / p不可用。例如,如果您尝试在iOS模拟器上捕获视频。

Error code 20 refers to the media i/p not available. Ex. if you are trying to capture a video on an iOS simulator.

这篇关于Cordova插件媒体捕获错误20的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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