[FFmpeg-devel] [PATCH] default multicast to socket reuse

David Fries david
Fri Jul 2 14:54:25 CEST 2010


We have a number of streams that are being multicast on the local
network and have a .sdp file useed to configure ffplay and the ffmpeg
library to listen in to those stream.  In this case there isn't any
way to tell ffmpeg to set the SO_REUSEADDR flag so that multiple
programs on the same computer can receive the same multicast stream.
With the sdp configuration file ffmpeg will build the uri internally
so there isn't any way to specify the reuse=1 option in the uri.  This
defaults udp.c to enable socket reuse if it is multicast and reuse=0
is not specified.

-- 
David Fries <david at fries.net>
http://fries.net/~david/ (PGP encryption key available)





More information about the ffmpeg-devel mailing list