how to capture sequence no. and time stamp of RTP/UDP packets

Chuck Crisler ccrisler at mutualink.net
Tue May 5 07:15:48 PDT 2015


If you are trying to determine packet loss, look at the RTCP support. That
is one thing that it does.

On Sat, May 2, 2015 at 3:58 AM, Sebastian Dröge <sebastian at centricular.com>
wrote:

> On Do, 2015-04-30 at 17:39 +0000, Raheeb Muzaffar wrote:
> > Hello,
> > 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
> > 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.
> > 2. At receiver, capture the sequence no. And timestamp of the received
> packets so as to measure delay and packet loss.
> > 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.
>
> Why don't you want to use GStreamer for that?
>
> But in any case, if you don't you'll have to parse the RTP packets
> yourself. See https://tools.ietf.org/html/rfc3550 section 5 for the
> packet format.
>
> If you use GStreamer, you could use the gst_rtp_buffer_map() function
> from libgstrtp.
>
> --
> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


-- 
___________________________________________________
Name
*Chuck Crisler*

Mutualink, Inc.
3 Lan Dr.
Westford, MA  01886

Direct: (978) 490-3006 <%28866%29%20957-5465> Ext: 118

E-Mail: ccrisler at mutualink.net <employeer at mutualink.net>

Web: www.mutualink.net


The information in this email, and subsequent attachments, may contain
confidential information that is
intended solely for the attention and use of the named addressee(s). This
message or any part thereof
must not be disclosed, copied, distributed or retained by any person
without authorization from the addressee.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150505/fa677e4e/attachment.html>


More information about the gstreamer-devel mailing list