So, I'm still a bit confused exactly how the delay works. If I'm writing a
client application, I set the "TargetBufferDurationInfo" parameter using
either the QTSPresSetInfo or the QTSMediaSetInfo function. However, that
delay is actually variable in the following ways: (a) when I set the delay
to be 1 << 16, the resulting delay is actually different at different times;
also, (b) over time (5 minutes or so) the stream begins to get choppy, and
then it eventually disappears until I reconnect.
So, my questions:
1. How do I query what the *actual* delay is? (I assume the
TargetBufferDuration is just a suggestion to the Quicktime architecture)
2. How do I find out whether packets are not played?
Actually, this is a great opportunity to point me in the right direction on
how to use the Quicktime documentation. I know there's a constant I can
pass to QTSMediaGetInfo which is "kQTSLostPercentInfo". However, upon
searching for that constant in the documentation, the only result that
appears is its listing in the "index of constants". However, going to
"QTSMediaGetInfo", and looking at that, I notice that the last parameter
that is returned is "void *ioParams" which is documented to be "in a format
determined by the inSelector". Now, I know that you folks at Apple have
something in mind for how I should find out the information on what exactly
that format is, but I'm confused how I am supposed to go about it for other
constants.
Thank you in advance,
Brian Rosenthal
---------------------------
Brian Rosenthal
Chief Technology Officer
XCiteMedia, Inc.
email@hidden
617-359-5993 (cell)
818-344-3666 (work)
818-344-4547 (fax)
-----Original Message-----