I'm experience four separate bugs with the official cordova media capture plugin on a Nexus 6 phone running Android 6.
Some of these bugs did not occur on the Nexus 6p. So I know there may be some phone specific issues here. Any help would be greatly appreciated.
Bug 1
- open app at portrait orientation
- then rotate to landscape
- press record, then stop
- notice how video preview is rotated in wrong orientation
Bug 2
- open app
- change camera facing from rear to front
- notice how you can't click record button now
Bug 3
- open app at portrait orientation
- press record, then stop
- accept video, and notice video cannot be played in a video player
Bug 4
- open android Photos app
- notice how videos are not shown in gallery
- restart phone and reopen Photos app to see them
Plugin
https://github.com/apache/cordova-plugin-media-capture
Demo to replicate bugs
https://github.com/kmturley/cordova-media-capture-example