[FFmpeg-devel] [PATCH] default multicast to socket reuse
Sat Jul 3 06:18:48 CEST 2010
Please disreguard the last patch and use this version instead. I
realized that as it was coded reuse without =1 would have previously
would enable socket reuse where now it would be disabled as strtol
returns 0 when the string is empty as it is in that case.
On Fri, Jul 02, 2010 at 07:54:25AM -0500, David Fries wrote:
> 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