RecordWav
RecordWav copied to clipboard
录音录视频同时使用异常问题
在尝试同时录视频和音频,录音频用的是开源库 https://github.com/MingYueChunQiu/RecorderManager ,在录制音、视频结束释放资源时,抛出 AudioRecord 没有初始化异常: java.lang.IllegalStateException: stop() called on an uninitialized AudioRecord. at android.media.AudioRecord.stop(AudioRecord.java:1173) at com.maple.recordvoice.recording.BaseDataRecorder.stopRecording(BaseDataRecorder.java:83) at com.maple.recordvoice.recording.WavRecorder.stopRecording(WavRecorder.java:23)