[Live-devel] MultiFramedRTPSink and packet numbers

Sharda Murthi sharda.murthi at gmail.com
Mon Oct 12 16:06:28 PDT 2009


Hi,

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:

Packet number = 1
Packet number = 2
Packet number = 3
Packet number = 4
Packet number = 5
Packet number = 6
Packet number = 1
Packet number = 7
Packet number = 8
Packet number = 9
Packet number = 10
Packet number = 11
Packet number = 12
Packet number = 13
Packet number = 14
Packet number = 15
Packet number = 16
Packet number = 17
Packet number = 2
Packet number = 18
Packet number = 19
Packet number = 3
Packet number = 20
Packet number = 21
Packet number = 22
Packet number = 23
Packet number = 24
Packet number = 25
Packet number = 26
Packet number = 27
Packet number = 28
Packet number = 29
Packet number = 30
Packet number = 31
Packet number = 32
Packet number = 33
Packet number = 34
Packet number = 35
Packet number = 36
Packet number = 37
Packet number = 38
Packet number = 39
Packet number = 40
Packet number = 41
Packet number = 42
Packet number = 43
.
.
.....

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.

Please help.

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20091012/971b84f7/attachment.html>


More information about the live-devel mailing list