[vlc-devel] rtsp module : vlc freeze

Rémi Denis-Courmont rem at videolan.org
Fri Sep 26 15:05:30 CEST 2008


Le vendredi 26 septembre 2008 15:10:39 Sébastien Escudier, vous avez écrit :
> > Since 'someday' can be a very long time, would it be possible in the
> > interim to at least have these timeouts configurable somehow?
>
> I did a quick hack in live555 library code, using a select instead of the
> connect.

That does not really solve the problem. select() for non-blocking connection 
is portable. I mean, it's in Win32 and POSIX. The real issue is, how do you 
interrupt live555 select() from VLC?

As far as I can tell, live555 providing a Avahi-like thread interruption 
function, external I/O event loops binding, or network I/O callbacks are the 
only potential ways to fix this for real. Unfortunately, this would be a 
significant depart from the current API, and add quite much complexity to 
both live555 and VLC.

-- 
Rémi Denis-Courmont
http://git.remlab.net/cgi-bin/gitweb.cgi?p=vlc-courmisch.git;a=summary



More information about the vlc-devel mailing list