How to capture video in Android?

后端 未结 7 399
天命终不由人
天命终不由人 2020-12-07 15:52

I would like to create a video recorder and so far haven\'t figured out how to set parameters in order to successfully go through MediaRecorder.prepare() method.

Exe

相关标签:
7条回答
  • 2020-12-07 16:44

    Have you checked this out?

    http://code.google.com/p/android/issues/detail?id=5050

    These guys suggest that it is a timing issue, and that the MediaRecorder state machine may require some delay (hardware dependent?) between states.

    It would be nice if there were callbacks for when each state was fully achieved - then we could just put prepare in that.

    0 讨论(0)
提交回复
热议问题