kingstonkoa opened a new issue #181: URL: https://github.com/apache/cordova-plugin-media-capture/issues/181
# Bug Report ## Problem Using the plugin _cordova-plugin-media-capture_ to launch the camera which by default would use the Windows camera app in Windows 10. However, the camera app encounters error when it is opened in video mode through `navigator.device.capture.captureVideo()`. ### What is expected to happen? It is expected to launch the Windows Camera app in video mode. <img width="435" alt="video_camera" src="https://user-images.githubusercontent.com/10598258/87630248-4451ec80-c767-11ea-9c5e-dc87e8129705.PNG"> ### What does actually happen? Camera can't start properly with error code: **0xA00F42F<WindoShowFailed> (0x80131502)** <img width="429" alt="camera_error" src="https://user-images.githubusercontent.com/10598258/87630347-7ebb8980-c767-11ea-9bd1-050648f9daa8.PNG"> ## Information It seems that using the Cordova application to launch the camera app would encounter error if the Windows camera is left in a picture mode state previously. A current work-around is to open the Windows Camera app and set it in video/record mode, by doing so the Cordova application was able to launch the camera app in video mode properly. ### Environment, Platform, Device Microsoft Windows 10 version 1909 (OS Build 18363.900). Windows Camera App version 2020.504.40.0 ### Version information Cordova Platform: Windows Cordova Plugin: [email protected] OS: Windows 10 ## Checklist - [ x] I searched for existing GitHub issues - [ x] I updated all Cordova tooling to most recent version - [ x] I included all the necessary information above ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
