I want to use dev video api for video(mp4) recording and streaming.

I know that i can record the mp4 video using CVideoReorderUtility also. but there I can not receive the data in chunks to stream it.

I actually want to record the video as well as stream the video.

I am using N78 (3rdEd FP2 device) for development, so I have devvideo libraries to use.

Can anyone please help me how to write those data chunks(TVideoOutputBuffer) received via MdvroNewBuffers?

I actually know that mp4 is a file format and hence those data chunks must be somewhat specifically written to that mp4 file so that other players can also read it.

Also can anyone tell me how to stream that chunk via RTP? what all information must be sent prior for setting up the session?