-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not A Problem
-
Affects Version/s: 3.0.0
-
Fix Version/s: None
-
Component/s: cordova-plugin-media
-
Labels:None
-
Environment:
Android 4.4.2, Android 5.0
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();