title: how to tik tok record video in partistions with switch camera and merge after recording in android
body: <p>I am trying to create video recording functionality like tik tok (musically) application. In which when i touch and hold recording button then video will be recorded and after release button video recording pause not stop and user also switch camera while recording video. The video will be fixed duration. After complete video recording the whole video will be merge. </p>
  
  <p>But When i record video from front camera then video is flipped and after merge video, the orientation is change. I am merging the videos using mp4parser library. How to implement this functionality?</p>