[Live-devel] hasBeenSynchronizedUsingRTCP()

Jeff Shanab jshanab at smartwire.com
Fri Jul 29 09:18:25 PDT 2011


OK, I reset the firmware option and  did some more stepping through the code and I see the fHasBeenSynchronized being set during the noteincomingSR but then it manages to get set back to 0 before the line resultHasBeenSyncedUsingRTCP = fHasBeenSynchronized in RTPSource::noteincomeingPacket.

I am gonna sssume this is a different situation, an non sr packet. But I have not yet figured out the flow to figure out why the call to hasBeenSynchronizedUsingRTCP()" always returns false
I see in the code all the offsets are handled, and using just the PTS has been working. I do not know what I have done to break this in my code :(

Is there documentation other than the doxygen that gives a bit more info?

From: live-devel-bounces at ns.live555.com [mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Friday, July 29, 2011 10:40 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] hasBeenSynchronizedUsingRTCP()


On Jul 29, 2011, at 11:15 AM, Jeff Shanab wrote:


Thanks that explains it, the last firmware upgrade allows us to disable audio.

The PTS still jumps even for video only

That suggests that the camera does, indeed, send RTCP "SR" packets.  See http://www.live555.com/liveMedia/faq.html#rtcp-synchronization-issue



, do I need to explicitly request sync of the video stream when I only want video?

The "hasBeenSynchronizedUsingRTCP()" function does not 'request' synchronization; synchronization happens automatically off RTCP "SR" packets are received.  The "hasBeenSynchronizedUsingRTCP()" function merely tells you whether the received presentation times can be considered accurate.



One last question, does sync offset the PTS and allow it to appear as if it is the same ntp stamp as the receiver?

I don't understand this question.  But application code should never need to concern itself with RTP timestamps.  Just work with "presentation times".

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20110729/e867404f/attachment.html>


More information about the live-devel mailing list