[FFmpeg-devel] [PATCH] Make rtpenc.c SSRC randomly set

Måns Rullgård mans
Thu Jul 10 19:14:45 CEST 2008

Luca Barbato wrote:
> Michael Niedermayer wrote:
>> define "strong random number generator"
> a random number generator made so that you cannot statistically guess
> the next number, iirc mt + a secure hasher should work this way.
>>> A valid SSRC could be just the stream id for most of our purposes. 0
>>> could be the initial timestamp, for what concerns us.
>> then the problem is solved, good work
> Maybe I should test and attach a patch first ^^.
> Note that "what concern us" for me is just make sure that the ssrc are
> unique inside the rtp session (so the stream index fits the bill), if
> someone would like to use ffrtp in scenarios in which you get more
> senders per rtp session the whole thing ceases to be enough.

When will people ever learn that random != unique?

M?ns Rullg?rd
mans at mansr.com

More information about the ffmpeg-devel mailing list