support recording function for both audio and video

save audio and video as a mp4 file