Parsing time stamps from rtp stream.

This forum is about all development around libVLC.
Lpas
New Cone
New Cone
Posts: 1
Joined: 05 Dec 2014 21:43

Parsing time stamps from rtp stream.

Postby Lpas » 05 Dec 2014 22:53

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Parsing time stamps from rtp stream.

Postby Jean-Baptiste Kempf » 10 Dec 2014 11:40

No, you cannot do that with libVLC.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

ryantheseer
Blank Cone
Blank Cone
Posts: 15
Joined: 16 Feb 2017 20:19

Re: Parsing time stamps from rtp stream.

Postby ryantheseer » 16 Feb 2017 20:20

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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Parsing time stamps from rtp stream.

Postby Rémi Denis-Courmont » 16 Feb 2017 22:42

If you operate directly on top of RTP, the Libvlc API is much too high-level (and probably totally overkill).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 6 guests