[Live-devel] setupDatagramSocket - SO_REUSEADDR problems
Guido Marelli
guido.marelli at intraway.com
Mon Mar 9 11:03:49 PDT 2009
Hi,
I've found that in some cases (it seems to be random) the method
mediaSubsession::initiate will use the same UDP ports for both a video
stream and an audio stream. A sample output for the openRTSP program is
the following:
Created receiver for "video/MP4V-ES" subsession (client ports 34394-34395)
Created receiver for "audio/PCMU" subsession (client ports 34394-34395)
Setup "video/MP4V-ES" subsession (client ports 34394-34395)
Setup "audio/PCMU" subsession (client ports 34394-34395)
The problem seems to be the SO_REUSEPORT socket option on the
setupDatagramSocket function.
So, my question is: Is it safe to disable that option?
I look forward to hearing from you,
Regads,
--
Guido Marelli
Intraway Corp.
Oficina AR: +54 (11) 4393-2091
Oficina CO: +57 (1) 750-4929
Oficina US: +1 (516) 620-3890
Fax: +54 (11) 5258-2631
MSN: guido.marelli at intraway.com
Visite nuestro sitio web en http://www.intraway.com
More information about the live-devel
mailing list