Hi,<br><br>I am trying to trace the order in which packets are delivered while using the testOnDemandRTSPServer. My understanding is that the function sendPacketIfNecessary() in MultiFramedRTPSink.cpp in the liveMedia folder is the main function that deals with sending packets. Please correct me if I am wrong here. I have output the packet numbers to a text file as and when the function is called. A small fragment of the output text file looks like this:<br>
<br>Packet number = 1<br>Packet number = 2<br>Packet number = 3<br>Packet number = 4<br>Packet number = 5<br>Packet number = 6<br>Packet number = 1<br>Packet number = 7<br>Packet number = 8<br>Packet number = 9<br>Packet number = 10<br>
Packet number = 11<br>Packet number = 12<br>Packet number = 13<br>Packet number = 14<br>Packet number = 15<br>Packet number = 16<br>Packet number = 17<br>Packet number = 2<br>Packet number = 18<br>Packet number = 19<br>Packet number = 3<br>
Packet number = 20<br>Packet number = 21<br>Packet number = 22<br>Packet number = 23<br>Packet number = 24<br>Packet number = 25<br>Packet number = 26<br>Packet number = 27<br>Packet number = 28<br>Packet number = 29<br>Packet number = 30<br>
Packet number = 31<br>Packet number = 32<br>Packet number = 33<br>Packet number = 34<br>Packet number = 35<br>Packet number = 36<br>Packet number = 37<br>Packet number = 38<br>Packet number = 39<br>Packet number = 40<br>Packet number = 41<br>
Packet number = 42<br>Packet number = 43<br>.<br>.<br>.....<br><br>While most of the packets are sent in sequence, a few are delivered out of sequence. Are these retransmitted packets? Which is the function that deals with lost packets and retransmission? I am transmitting over UDP. Also, what is the functionality of the MultiFramedRTSPSource module? I saw some functions dealing with packet and frame losses there but they do not seem to be getting called while a transmission is done.<br>
<br>Please help.<br><br>Thanks <br>