MediaRecorder.stop() hanging with Android 4.0 (ICS)

后端 未结 9 1192
夕颜
夕颜 2021-02-04 01:08

When calling stop() within my Video Capture activity, on occasion, the software will hang and will not come back to life. Only triggering an ANR by hitting \"Back\

9条回答
  •  梦谈多话
    2021-02-04 01:59

    In my case I been trying to stop recording on Activity.onStop, when I moved the call to MediaRecorder.stop to Activity.onPause it fixed my problem.

提交回复
热议问题