Implemented writing of rtmfp packets and chunks