Pause & Resume with Android MediaRecorder (API level < 24)

I could solve this problem using mp4parser library. Thanks much to author of this library 🙂 Add below dependency in your gradle file: compile ‘com.googlecode.mp4parser:isoparser:1.0.2’ The solution is to stop recorder when user pause and start again on resume as already mentioned in many other answers in stackoverflow. Store all the audio/video files generated in … Read more

Live streaming through MP4

You may use fragmented MP4. A fragmented MP4 file is built a follows: moov [moof mdat]+ The moov box then only contains basic information about the tracks (how many, their type , codec initialization and so on) but no information about the samples in the track. The information about sample locations and sample sizes is … Read more