[Live-devel] How to get NPT from RTSPClient?

Luca Abeni lucabe72 at email.it
Wed Oct 19 11:22:44 PDT 2005


Hi Ross,

thanks for your answer.
On Tue, 2005-10-18 at 10:19 -0700, Ross Finlayson wrote:
> >In other words, I'd like to have some function telling me "the sender
> >time is now T", and not "the presentation time of the last received
> >frame is T".
> 
> Once again, the "presentationTime" value returned by the "RTPSource" 
> (receiver) *is* based on the sender's clock
Sorry, once again I did not explain myself well...

I know that "presentationTime" is based on sender's clock. But it is the
"time when the frame has to be played" referred to the sender clock. I'd
like to know the "current time" (or an estimation of the current time)
referred to the sender clock.
If the sender sends the frames at the time when they should be played,
the two times above (presentation time and current time) are very
similar, but my streamer is buffering some frames before sending them,
and the time when a frame is sent can be up to 3 seconds later than the
presentation time (so presentationTime is not a good estimation of the
current time, I think...).

Anyway, it might be that I am completely misunderstanding how RTPSource
works... In this case, I apologize (and in this case you don't need to
answer this email, of course).

			Thanks again,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !



More information about the live-devel mailing list