How to know when MediaRecorder has finished writing data to file

前端 未结 6 1023
迷失自我
迷失自我 2021-02-05 08:01

We\'re using MediaRecorder to record video to a file on the external storage using setOutputFile() before doing the actual recording.

Everything works fine, but the main

6条回答
  •  猫巷女王i
    2021-02-05 08:35

    A dirty way would be to check the lastModified() value of the File and open the VideoView if the File wasn't modified for 2 seconds.

提交回复
热议问题