<div dir="ltr"><div>Hello,</div><div><br></div><div>I would like to retrieve the RTP sender timestamp and compare it with the receiver timestamp to estimate the One-Way-Delay of the RTP packets. <br></div><div><br></div><div>I have gone through the GstRTPBuffer API and the method gst_rtp_buffer_get_timestamp(GstRTPBuffer * rtp). I am calling this in a loop to get the timestamps but the program terminates at the run time. <br></div><div>GstBuffer * buf;</div><div>GstRTPBuffer *rtp;</div><div>guint64 timestamp;</div><div><br></div><div>Mapping the GstBuffer to rtp buffer:</div><div>gst_rtp_buffer_map (buf, GST_MAP_READ, rtp);</div><div><br></div><div>Retrieving the timestamp </div><div></div><div>//This is where the program crashes in runtime. <br></div><div>timestamp = gst_rtp_buffer_get_timestamp (rtp);</div><div><br></div><div>I have set the RTP bin to buffer-mode = 0  to get RTP timestamps as PTS<br></div><div><br></div><div>Is there any other way to get the sender and receiver RTP packet timestamps? <br></div><div><br></div><div>Any help is appreciated. <br></div><div><br></div><div>Thanks in advance, <br></div><div><br></div><div>Tilak Varisetty<br></div><div><br></div><div><br></div></div>