Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Duplicate
-
None
-
None
Description
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 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 }); });
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
Attachments
Issue Links
- duplicates
-
CB-10180 Add support for video capture quality on iOS
- Open