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

后端 未结 9 1194
夕颜
夕颜 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:56

    Probably you're starting the preview and media recorder init in onCreate(). Move this to a later point or add new Handler.postDelayed(runnable, 1000);

提交回复
热议问题