Difference between RTP timestamp in RTP packet and RTP timestamp in RTCP SR packet with rtspsrc

이병헌 byunghun.lee at fainders.ai
Thu Nov 18 06:34:04 UTC 2021


Hi dev
Now I’m trying to use RTCP SR to sync multiple rtsp cameras.
But RTP timestamp in RTCP SR packet is never matched with RTP timestamp in RTP packet from rtspsrc.

Example //

Rtp time :: 563777570
Timestamp :: 6656000000
Rtp time :: 563786786
Timestamp :: 6690000000
Rtp time :: 563796002
Timestamp :: 6723000000
Rtp time :: 563805218
Timestamp :: 6756000000
Rtp time :: 563806242
Timestamp :: 6790000000
Rtp time :: 563815458
Timestamp :: 6823000000
Got rtcp packet1
Frame :: 206, Ntp time :: 1637212557, Rtp time :: 3923794302, Packet Count :: 898
Rtp time :: 563824674
Timestamp :: 6856000000
Rtp time :: 563833890
Timestamp :: 6889000000
Rtp time :: 563843106
Timestamp :: 6923000000
Rtp time :: 563852322
Timestamp :: 6956000000
Rtp time :: 563861538
Timestamp :: 6989000000
Rtp time :: 563870754
Timestamp :: 7023000000
Rtp time :: 563740706
Timestamp :: 7056000000
Rtp time :: 563749922

So my question is

How to know which video frame is matching with RTP timestamp in RTCP SR packet?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20211118/83d3e08e/attachment.htm>


More information about the gstreamer-devel mailing list