You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please replace code in file ExtAudioRecorder.java and do not use '/' before it will work
if (Environment.getExternalStorageState().equals(Environment.MEDIA_MOUNTED)) {
filePath = Environment.getExternalStorageDirectory().getAbsolutePath() + argPath;
} else {
filePath = "/data/data/" + handler.cordova.getActivity().getPackageName() + argPath;
}
I got an alert error saying that "AudioRecord initialization failed".
I used the same code as the example.
var recorder = new martinescu.Recorder('/record.wav', { sampleRate: 22050 }, statusCallback, bufferCallback);
May I know why I am getting this error?
The text was updated successfully, but these errors were encountered: