[FFmpeg-devel] [PATCH] always enable reuse for reading multicast udp
Tue Sep 14 23:42:03 CEST 2010
on certain OSs, opening a multicast UDP socket for reading does not enable
the "reuse" socket option by default. supposedly this is a security feature.
an example for this is windows server 2003.
on such a system, opening two instances of ffplay for a multicast stream
will not work, as the second ffplay will be rejected.
a knowledgeable user can overcome this by explicitly adding the ?reuse=1
flag to the URL.
however I find it more natural to enable this option by default, and leaving
the user the option to explicitly forbid reusing multicast sockets.
the attached patch achieves $subj
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1328 bytes
Desc: not available
More information about the ffmpeg-devel