I'm currently building a phonegap project with the Ionic framework, i need to capture video, here is my code
$scope.captureVideo = function(){
var options = { duration: 15 };
$cordovaCapture.captureVideo(options).then(function(videoData) {
$scope.videoGo = videoData[0].fullPath;
$scope.debug = videoData;
}, function(err) {
});
};
the video size is way to big even for a 15 second video, is there anyway to control the resolution of the video? it's being recorded in full HD 1080p, this will become a problem for 3g users and with a data limitation plan. or at leat to take down the quality for less weight.