//摄像
function getVideo(obj) {
var c = plus.camera.getCamera();
var fmt = c.supportedVideoFormats[0];
var res = c.supportedVideoResolutions[8];
c.startVideoCapture(function(path) {
console.log(path)
videoAjax(path)
}, function(s) {
console.log("error" + s.message);
}, {
filename: "_doc/" + GenerateRandom() + ".mp4"
resolution: res,
format: fmt
});
}
1 个回复
3***@qq.com
我也遇到这个问题啊,苹果机不会,安卓机只有声音,没有画面,这是怎么回事?