Page 1 of 1

Parsing time stamps from rtp stream.

Posted: 05 Dec 2014 22:53
by Lpas
I'm attempting to write a program which synchronizes data with an rtp stream. Is there any way I can access time stamp information representing the time when the frame is generated server side?
I've read in the documentation for RTCP that an NTP time stamp exists in the header for the RTCP packet. Is there any way I can access this information through libvlc?

I could also accomplish this by querying the network cache or calculating the delay caused by the network. Any ideas on how to access/calculate these values?

Is there perhaps a better way to do this that I'm missing out on?

Thank you,
Lucas

Re: Parsing time stamps from rtp stream.

Posted: 10 Dec 2014 11:40
by Jean-Baptiste Kempf
No, you cannot do that with libVLC.

Re: Parsing time stamps from rtp stream.

Posted: 16 Feb 2017 20:20
by ryantheseer
Is this still true? Is there a way to modify the libVLC source code and recompile a patch in order to get the RTP time stamp? I have the same need for it that Lpas did.

Re: Parsing time stamps from rtp stream.

Posted: 16 Feb 2017 22:42
by RĂ©mi Denis-Courmont
If you operate directly on top of RTP, the Libvlc API is much too high-level (and probably totally overkill).