[vlc-devel] rtcp and udp port collision

Rémi Denis-Courmont remi at remlab.net
Sat Oct 23 08:58:14 CEST 2010

Le samedi 23 octobre 2010 01:19:31 Ross Finlayson, vous avez écrit :
> I don't think that the LIVE555 code (used by the
> RTSP client) is a problem; it does exactly what
> you describe (see "liveMedia/MediaSession.cpp",
> lines 610-673).  Note, though, that before trying
> to "bind()" a port to the new socket (to see if
> it can be used), the code calls "setsockopt()" to
> turn off SO_REUSEPORT.  This is how it detects
> whether the port number is in use elsewhere on
> the same host.

As far as I know, SO_REUSEPORT is off by default. But more importantly, it is 
BSD-specific. I have no reason to believe that Sébastien is using BSD.

Rémi Denis-Courmont

More information about the vlc-devel mailing list