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

后端 未结 9 1202
夕颜
夕颜 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 02:07

    I also got a error like this. My activity contains a mutative SurfaceView that display preview,so after I start recording, the width of SurfaceView shrinked,and I could not stop the recording, get the ANR error。 I sovle the problem by fix the SurfaceView's dimension。 Hope it helpful

提交回复
热议问题