Now I’m currently using Cordova Media plugin via ngCordova in my project.
Here is the snipped code :
$scope.captureMedia = function () {
var options = { limit: 1, duration: 31, highquality:true };
$cordovaCapture.captureVideo(options).then(function(videoData) {
// Success! Video data is here
$scope.debug = videoData;
}, function(err) {
// An error occured. Show a message to the user
});
}
Then print $scope.Debug on the screen.
When I capture the 30s video it said that the size is just around 3 Mb.
Is there anyway that I can control the quality of the captured video through my app?
Thanks in advance.