hello
So the result will be after the transform
TransformedFrame = OriginalFrame | MyData
This resulted in so many issues on the receiving side the data is modified and extracting the original frame is not done properly. Resulting in the frames being corrupted.
In another trial, I have tried to preset my data with an obu header and size so it's treated as a metadata OBU by the packetizer and the depacketizer.
TransformedFrame = OriginalFrame | ObuHeader = 0'0101'010 | leb128(MyData.Size) | MyData
This method gave better results and most of the time I receive the frame with my data attached to it. But sometimes on the receiver side my data gets detached
and I receive two frames instead of one. The first frame contains the original frame and the second frame contains my data.
1st received frame = Original Frame.
2nd received frame = ObuHeader | leb128(MyData.Size)| My Data.
This is causing me issues since every frame I send has its unique data related to it. Do you have any idea why this sometimes happens and the receiver breaks the frame into two? How can I prevent the separation from happening and always receive one frame with my data attached to it?
Thank you for your help.