I am developing an application, in which a RTP-stream streamed by VLC (the data is a mp4 played at regular speed) and recorded with Wireshark is sent from a sender to a receiver. The sender FEC-encodes (using the library OpenFEC) the data and the receiver FEC-decodes the data and sents the RTP-packets to port 5004. In each FEC-unit there is e.g. 250 RTP-packets. There are 3 ms. between the sending of each RTP-packet.
At the receiver-side, when an whole FEC-unit is received, it is FEC-decoded; and all of the RTP-packets in the FEC-unit are sent in their correct order to VLC listening at port 5004 (rtp://127.0.0.1:5004).
When playing the stream, I notice that it plays quicker than it should. What is the reason for this and how can I resolve the problem?
Thanks!