[FFmpeg-devel] [PATCH] Make rtpenc.c SSRC randomly set
Fri Jul 11 18:45:51 CEST 2008
On Thu, Jul 10, 2008 at 11:18:08PM +0100, M?ns Rullg?rd wrote:
> Luca Barbato <lu_zero at gentoo.org> writes:
> > M?ns Rullg?rd wrote:
> >> When will people ever learn that random != unique?
> > The rfc uses the term random as in "anything would fit given it has
> > those properties",
> > using a strong (unique) random number generator fits the requirements.
> To answer myself: apparently not yet.
> What's so damn hard to understand? No matter how statistically
> unlikely, two random (in some sense) numbers are *never* guaranteed to
> be unique. Random numbers are very useful in certain applications.
> However, situations requiring unique identifiers are not among them.
Which is exactly why I did not have a problem with the 0. While
unlikely, a true random number generator can emit 0s for longer than
RTP is likely to be used, so it should be fine.
I probably should read it myself one day to see if it's really as
pathetic as all these discussions made it seem to me.
More information about the ffmpeg-devel