<div dir="ltr">If you are trying to determine packet loss, look at the RTCP support. That is one thing that it does.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 2, 2015 at 3:58 AM, Sebastian Dröge <span dir="ltr"><<a href="mailto:sebastian@centricular.com" target="_blank">sebastian@centricular.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Do, 2015-04-30 at 17:39 +0000, Raheeb Muzaffar wrote:<br>
> Hello,<br>
> I am multicasting video stream using RTP (rtph264pay) and UDP (udpsink) from a source node. At the client end the video stream is decoded and Displayed As They stream. I have coded this using gstreamer in c / c ++. I now want to<br>
> 1. At the source, capture the sequence no., Packet size (in bytes) and timestamp of each packet of the video stream being Transmitted over the network.<br>
> 2. At receiver, capture the sequence no. And timestamp of the received packets so as to measure delay and packet loss.<br>
> It would be great if someone Could help me suggest a way to implement this in C / C ++. I do not want to use GST debug since I have to do some processing with the video packets. Here is the code for the server and client.<br>
<br>
Why don't you want to use GStreamer for that?<br>
<br>
But in any case, if you don't you'll have to parse the RTP packets<br>
yourself. See <a href="https://tools.ietf.org/html/rfc3550" target="_blank">https://tools.ietf.org/html/rfc3550</a> section 5 for the<br>
packet format.<br>
<br>
If you use GStreamer, you could use the gst_rtp_buffer_map() function<br>
from libgstrtp.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Sebastian Dröge, Centricular Ltd · <a href="http://www.centricular.com" target="_blank">http://www.centricular.com</a><br>
</font></span><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><span style="color:rgb(102,102,102);font-family:verdana,sans-serif">___________________________________________________</span><br></div><div><span style="color:rgb(68,68,68);font-weight:bold;font-family:arial,helvetica,sans-serif">Name</span><br></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(102,102,102)"><i>Chuck Crisler</i></span><br style="color:rgb(102,102,102)"></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102);font-weight:bold">Mutualink, Inc.</span><br style="color:rgb(102,102,102)"></font></div><div><font face="arial, helvetica, sans-serif"><span style="color:rgb(102,102,102)">3 Lan Dr.</span><br style="color:rgb(102,102,102)"></font></div><div dir="ltr"><font face="arial, helvetica, sans-serif"><span style="color:rgb(102,102,102)">Westford, MA 01886</span><br style="color:rgb(102,102,102)"><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Direct: <a href="tel:%28866%29%20957-5465" value="+18669575465" target="_blank">(978) 490-3006</a> Ext: 118<br></span></font></div><div dir="ltr"><span style="color:black"><font face="arial, helvetica, sans-serif"><span style="color:rgb(102,102,102)"><br></span></font></span></div><div dir="ltr"><span style="color:black"><font face="arial, helvetica, sans-serif"><span style="color:rgb(102,102,102)"></span></font></span><span style="color:rgb(102,102,102);font-family:arial,helvetica,sans-serif"></span></div><font face="arial, helvetica, sans-serif"><font color="#666666">E-Mail: </font><font color="#3d85c6"><a href="mailto:employeer@mutualink.net" target="_blank">ccrisler@mutualink.net</a> </font><br style="color:rgb(102,102,102)"><br style="color:rgb(102,102,102)"><span style="color:rgb(102,102,102)">Web: </span><a href="http://www.mutualink.net/" target="_blank"><font color="#3d85c6">www.mutualink.net</font></a><br style="color:rgb(102,102,102)"><br><img src="https://www.google.com/a/mutualink.net/images/logo.gif?service=writely" border="0"><br><div dir="ltr" style="color:black"><font style="color:rgb(102,102,102)" size="1">The information in this email, and subsequent attachments, may contain confidential information that is </font></div><div dir="ltr" style="color:black"><font style="color:rgb(102,102,102)" size="1">intended solely for the attention and use of the named addressee(s). This message or any part thereof </font></div><div dir="ltr" style="color:black"><font style="color:rgb(102,102,102)" size="1">must not be disclosed, copied, distributed or retained by any person without authorization from the addressee.</font></div></font></div></div></div></div></div></div>
</div>