I am sending multiple files via RTP protocol using media playlist (.xspf). On the receiver side, I would like to save each received file with different filename, eg. file0.avi, file1.avi, etc.
Till now, best I can get on the receiver is the combined file with correct file size (sum of all individual files), but some kind of a EOF flag is inserted in the middle of the file (each time the current streaming file ends) and my player can only replay video of first file, i.e. file0.avi and not the whole one.
Is there any way to cut the stream and place new data in new file, when this EOF is received?
Regards