[FFmpeg-devel] [PATCH] always enable reuse for reading multicast udp
Wed Sep 15 11:54:31 CEST 2010
On Tue, 14 Sep 2010, aviad rozenhek wrote:
> 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.
I'm not familiar enough with multicast stuff in order to give a good
comment on this, but I'm CCing this to Luca A, that I hope knows this
field better. He'll hopefully reply on this issue when he's back next
More information about the ffmpeg-devel