Merge pull request #1494 from simophin/ses-1935-audio-recording-crash

[SES-1935] Audio recording crash
release-1.18.4
Andrew 1 month ago committed by GitHub
commit 66c0f940aa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -45,7 +45,8 @@ public class AudioRecorder {
Log.i(TAG, "Running startRecording() + " + Thread.currentThread().getId());
try {
if (audioCodec != null) {
throw new AssertionError("We can only record once at a time.");
Log.e(TAG, "Trying to start recording while another recording is in progress, exiting...");
return;
}
ParcelFileDescriptor fds[] = ParcelFileDescriptor.createPipe();

Loading…
Cancel
Save