Constructing GstRTPBuffer to get RTP packet timestamp

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


Hi,

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://127.0.0.1:8554/livestream !
rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! appsink

Thanks,
kalpesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211123/d27a18df/attachment.htm>


More information about the gstreamer-devel mailing list