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

Martin Storsjö martin
Sat Mar 27 19:43:46 CET 2010


Hi,

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().

// Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ssrc-random.patch
Type: text/x-diff
Size: 1237 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100327/4dba5258/attachment.patch>



More information about the ffmpeg-devel mailing list