[vlc-devel] [PATCH 2/2] chromecast: don't close the client connection

Francois Cartegnie fcvlcdev at free.fr
Thu Oct 29 17:24:11 CET 2020

Le 29/10/2020 à 14:28, Pierre Ynard via vlc-devel a écrit :
>>> Seems it was designed to expect no timeout
>> That cannot be achieved with the TCP implementations provided by
>> the OSes that VLC runs on. *All* of them will fatally time-out the
>> connection if data remains in the send buffer for too long. (Only
>> way to avoid this is to write a custom TCP stack, which requires raw
>> sockets privileges.)
> Can't you at least raise the TCP timeout value on that socket with
> setsockopt() and some option? Isn't this just what TCP_USER_TIMEOUT will
> do?

Unsure how this is bounded by client's own timeout.

Francois Cartegnie
VideoLAN - VLC Developer

More information about the vlc-devel mailing list