首页 > 代码库 > Android-MediaRecorder-音频录制-警告-W/MediaRecorder(13811): mediarecorder went away with unhandled events

Android-MediaRecorder-音频录制-警告-W/MediaRecorder(13811): mediarecorder went away with unhandled events

Android-MediaRecorder-音频录制-警告-W/MediaRecorder(13811): mediarecorder went away with unhandled events

 

音频录制stop时,Logcat打印上面警告,在加上code【 mMediaRecorder.reset();】就OK.

            mMediaRecorder.stop();              mMediaRecorder.reset();            mMediaRecorder.release();              mMediaRecorder = null;

 

Android-MediaRecorder-音频录制-警告-W/MediaRecorder(13811): mediarecorder went away with unhandled events