Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5508

Media Capture Audio Not working on Android

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            agrieve Andrew Grieve
            niltz Jeff Sawatzky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment