[ https://issues.apache.org/jira/browse/CB-13821?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-13821. ----------------------------- Resolution: Duplicate iOS doesn't support quality option yet. There is an issue open to add it https://issues.apache.org/jira/browse/CB-10180 > captureVideo() returns video in 480x320 on ios > ---------------------------------------------- > > Key: CB-13821 > URL: https://issues.apache.org/jira/browse/CB-13821 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-plugin-media-capture > Reporter: Nicolas Marseaud > Priority: Critical > Labels: beginner > > The full issue is currently discussed here > [https://forum.ionicframework.com/t/media-capture-video-is-low-quality/103774/23] > When using the method captureVideo(), the video is automatically set to > 480x320 on ios > I am working on a ionic-angular project, here is a code sample : > > {code:java} > // code sample > var options = { quality: 1,duration:180 }; > this.mediaCapture.captureVideo(options).then(videodata => { > console.log('start capture video'); > var i; > for (i in videodata) { > let options = { > fileUri: videodata[i].fullPath > }; > if (!this.platform.is('ios')) options['audioChannels'] = 1; > this.videoEditor.getVideoInfo(options).then((videoInfo) => { > console.log('video width : '+videoInfo.width); > console.log('video height : '+videoInfo.height); > // returns 480x320 on ios and 1920x1080 on android > }); > }); > {code} > FYI : I'm developping on android, right now I'm helping a colleague for the > ios version, and this is the last probleme to solve > Env Info : > ionic client : > * @ionic/cli-utils : 1.19.1 > * ionic (Ionic CLI) : 3.19.1 > global packages : > * cordova (Cordova CLI) : 7.1.0 > local packages : > * @ionic/app-scripts : 3.1.2 > * Ionic Framework : ionic-angular 3.9.2 > cordova-plugin-media-capture version used : 3.0.1 > Devices encountering the issue : > * ios 10.3.3 > * ios 9.3 -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org