Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Timestamp of the frame being received in live broadcast



You can get the TimeBase of the Movie with GetMovieTimeBase, and then discover the current time with GetTimeBaseTime.

This will work for a stored stream; for a live stream this will only give you the time since the client connected, as the client does not know how long the stream was running before that, and the RTP timestamps have a random offset

If you ensure the clients start listening before the live stream starts broadcasting this can work. Alternatively you could send sync information in another stream. What kind of events are you trying to send?

On Sunday, December 2, 2001, at 08:28 PM, Felipe Baytelman wrote:

Hi:

I'm a streaming newbie:

Is there any way to get the timestamp of the moment or frame you are
receiving in the stream (in the client computer).

I'm working on Synchronizing the stream with simultaneous events, so, i.e.
I'd like to change something right NOW in the server, but the client will
take, let say, 20 more seconds to get the current frame being broadcasted.


Is there any way to get the timestamp of a LIVE broadcast stream?

By the way... I'm developing the client program for both platforms (MacOS
and Win)


References: 
 >Timestamp of the frame being received in live broadcast (From: Felipe Baytelman <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.