[FFmpeg-devel] [PATCH] Initialize ssrc properly in the RTP muxer

Luca Abeni lucabe72
Sun Mar 28 00:14:46 CET 2010


Hi Martin,

On Sat, 2010-03-27 at 20:43 +0200, Martin Storsj? wrote:
> When transmitting multiple RTP streams, their SSRC values should be 
> unique. Currently, the RTP muxer has this hardcoded to 0. The attached 
> patch replaces this (and also sets base_timestamp) using 
> ff_get_random_seed().

Both ssrc and the initial timestamp used to be set with random(), but
this has been changed because of security issues. If security people
agree that ff_random_get_seed() can be used here, then I am of course ok
with this patch.


			Thanks,
				Luca




More information about the ffmpeg-devel mailing list