Constructing GstRTPBuffer to get RTP packet timestamp

kalpesh shukla kalshukla at
Tue Nov 23 05:35:17 UTC 2021


In one of our python based video streaming applications we are required to
get a timestamp of the RTP packet for synchronization purposes.
While going through the GStreamer documents we came across GstRTPBuffer
(which is part of RTP library) helper functions which can be used to
extract RTP timestamp and other RTP header related details.
We are not able to find any reference on how to get GstRTPBuffer to start
working on RTP header.

Below is the example pipeline for reference,

gst-launch-1.0 rtspsrc location=rtsp:// !
rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! appsink

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list