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

Audio Recording broken on some Android Devices after Update to 3.0.1

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 3.0.0
    • None
    • cordova-plugin-media
    • None
    • Android 4.4.2, Android 5.0

    Description

      After updating the Media Plugin from 2.4.0 to 3.0.1 some users cant record and play back audio files anymore. The first user was running Android 5.0.1 a software update to 6.0 did fix it for him. Now i got another report from a user running Android 4.4.2 experiencing the same issue.
      The code for the audio recording is:

              var src = "myrecording.amr";
              var mediaRec = new Media(src, onSuccess, onError);
              mediaRec = new Media(src, onSuccess, onError);
              mediaRec.startRecord();
              //...wait some seconds
             mediaRec.stopRecord();
             mediaRec.play();
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jak0b jakob pfab
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: