scattered opened a new issue #175:
URL: https://github.com/apache/cordova-plugin-media-capture/issues/175


   # Bug Report
   
   ## Problem
   
   When capturing video on my Samsung Galaxy Note 9, there is an icon in the 
top right hand corner used to apply image filters. When tapping this icon the 
camera freezes. After a few seconds the camera closes responds with error code 
`3`.
   
   I understand the impulse to replay with "We don't support the camera 
filters" but considering this is the default camera app I have on my phone 
without knowingly installing any addons, I'm sure many users would expect this 
functionality to work.
   
   I'll also mention that when using `cordova-plugin-camera` for taking photos 
the filter button works correctly.
   
   ### What is expected to happen?
   
   When tapping this icon I should be able to apply supplied image filters.
   
   ### What does actually happen?
   
   When tapping the icon the camera app crashes.
   
   ## Information
   I've created a repo here that can be used to replicate the issue: 
https://github.com/scattered/cordova-plugin-media-capture-bug
   
   A copy of the catlog can be found here: https://pastebin.com/PMyUEAbf
   
   Note: I tapped the filter icon at 2020-06-08 17:28:32.169 (line: 97). Line 
98 shows the 9 seconds where the camera had frozen and then crashed.
   
   A video of the issue can be found here: https://streamable.com/3ofa3c
   
   Note: Sorry for the crappy camera work... You can see that after tapping the 
filter icon in the top right of the screen the video feed is locked, showing 
the pack of Pez even though I'm moving the camera. It's worth pointing out that 
the video shows that the aspect ratio button works fine...
   
   ### Command or Code
   Running `cordova run android --device` with my Galaxy Note 9 plugged in 
causes the issue.
   
   Running from within Android Studio causes the same issue.
   
   Note: Running via an emulator (Pixel 2) doesn't crash, but I imagine that's 
because it doesn't use the same camera app as the Galaxy Note 9.
   
   ### Environment, Platform, Device
   I'm working on Windows 10. The device I'm using for testing is a Samsung 
Galaxy Note 9 running Android  10.
   
   ### Version information
   Node: v13.6.0
   NPM: 6.13.4
   Cordova: 9.0.0 ([email protected])
   
   cordova-plugin-camera: ^4.1.0
   cordova-plugin-device: ^2.0.3
   cordova-plugin-file: ^6.0.2
   cordova-plugin-media-capture: ^3.0.3
   
   Platform: Android
   Android Studio: 3.6.3
   
   ## 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]

Reply via email to