Jeff Sawatzky created CB-5508:
---------------------------------

             Summary: Media Capture Audio Not working on Android
                 Key: CB-5508
                 URL: https://issues.apache.org/jira/browse/CB-5508
             Project: Apache Cordova
          Issue Type: Bug
          Components: Android, Plugin Media Capture
    Affects Versions: 3.2.0
         Environment: Nexus with Android 4.4
            Reporter: Jeff Sawatzky


There was a previous commit that made the video/image capture run in a 
runnable, but the audio capture wasn't modified. I found that the app was 
crashing, telling me I can't run IO operations on the UI thread when I try to 
capture audio. Making the capture audio run in a runnable like the other two 
seemed to fix the problem.

Here is my comment on the previous commit that includes the code that I changed:

https://github.com/apache/cordova-plugin-media-capture/commit/237d55f64ba68e4c70bb33750b4a7f3fdbfeda3e#commitcomment-4728529



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to