[
https://issues.apache.org/jira/browse/CB-10987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15229316#comment-15229316
]
Robert Owen commented on CB-10987:
----------------------------------
I hear what you're saying about driver. Not sure how to test that vs. front and
back camera.
One extra point to note is that when I take out the targetheight and width the
camera works, but like Android it defaults to the back facing camera even
though I have set it to default to front facing.
> Camera crashes on Windows 10 when targetwidth and targetheight specified
> ------------------------------------------------------------------------
>
> Key: CB-10987
> URL: https://issues.apache.org/jira/browse/CB-10987
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Environment: Windows 10, Local Machine
> Reporter: Raghav Katyal
> Assignee: Raghav Katyal
> Labels: triaged, wfc, windows
> Attachments: app.js, config.xml
>
>
> Breaks when following options specified:
> var options = {
> quality: 80,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: Camera.PictureSourceType.CAMERA,
> encodingType: Camera.EncodingType.JPEG,
> cameraDirection: Camera.Direction.FRONT,
> targetWidth: 180,
> targetHeight: 180,
> saveToPhotoAlbum: false
> };
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]