[Live-devel] RTP timestamp overrun

Michael Kostukov the-bishop at rogers.com
Wed Nov 9 17:27:48 PST 2005


As I can see, you are using a 32-bit value to specify
RTP timestamps. Now, taking the 90000 timestamp
frequency, for example:


2 ^ 32 = 4294967296
90000 * 24 * 60 * 60 = 7776000000 timestamps per day!

This is almost TWICE as much as the maximum possible
number of timestamps using the 4-byte data type.

Wouldn't it seem that you should use 64-bit value for
timestamps? I mean, timestamp will be overrun in less
than a day using the current approach. Or am I missing
something?

Cheers,

Michael


More information about the live-devel mailing list