On Thu, 2018-02-01 at 11:09 +0100, Frederik Leth wrote:
> Is it possible to get the RTP timestamps from the buffer in the
> appsink element ?
> I have read, that if the RtpBin is in 'buffer-none' the PTS should
> contain the RTP timestamp.
> PTS timestamp is 8 bytes whereas RTP timestamp is 4 bytes ?
> When I run my program the timestamps from PTS is not the same I see
> in wireshark on the incomming packets.
What is the data you are getting in the appsink? Is it RTP packets, or
are you talking about the depayloaded/decoded data and want to know
what the original RTP timestamp was?
If it's RTP packets you could use gst_rtp_buffer_map() +
The data is raw data. In this case it's depayloaded and decoded audio or
My setup is:
A device delivers an audio and a video stream (on seperate SSRC). The device
creates timestamps for both audio and video, so the two sources are in sync
when leaving the device.
The receiver is a gstreamer, which decodes etc. Both streams ends in it's
An application consumes both appsinks, and at this point I need to sync the
two streams. That is why I wan't to maintain the RTP timestamp created on
the producers (device)
Does this makes sense ??