MediaRecorder doesn't save mp4 until device turns off - android

430 views Asked by At

I wrote an Android application using MediaRecorder to record and save an Mp4. The code works, but the video will not appear in my gallery until I have turned my device off and back on again. The file doesn't save until the tablet, phone, etc. is turned off. It doesn't throw any type of error. Does anyone have any suggestions to why this issue may be occurring? I've looked everywhere and it seems like I am the only one with this issue. I have tried it on many devices and the problem remains.

0

There are 0 answers