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

Luca Barbato lu_zero
Thu Jul 10 19:01:19 CEST 2008

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.



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtpenc-stream_index.diff
Type: text/x-patch
Size: 504 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080711/416c2376/attachment.bin>

More information about the ffmpeg-devel mailing list