Parsing time stamps from rtp stream.
Posted: 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
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