RTP: Matching server and client timestamps

Pablo Odorico pablo.odorico at gmail.com
Tue Jun 15 10:38:42 UTC 2021


Hi,

I have a client+server stream based on rtpbin. The video stream comes from
an appsrc which sets the buffers PTS. If I probe on different places on the
client pipeline (e.g. the decoder src pad) I see that the buffers PTSs are
in a different clock domain.

Is there any way to recover the server-side timestamps from the client
pipeline? This would be useful for instrumentation and to support
encoder features like invalidating dropped reference frames.

Ideally I would like to get it from the timestamp in GstRTPPacketLost, so I
don't have to probe downstream and wait for the next GstBuffer flagged as
DISCONT.

Thank you,
Pablo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210615/221ca0e7/attachment.htm>


More information about the gstreamer-devel mailing list