[FFmpeg-trac] #11671(undetermined:new): enable TCP keepalive socket options
FFmpeg
trac at avcodec.org
Sun Jul 20 20:50:47 EEST 2025
#11671: enable TCP keepalive socket options
-------------------------------------+-------------------------------------
Reporter: guest | Owner: (none)
Type: enhancement | Status: new
Priority: wish | Component:
| undetermined
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by guest):
I would like to clarify the problem once again because it might not have
been completely clear earlier. The ffmpeg client receives data over an
HTTP stream but if the stream stops for example due to silenceremove or
because a Suspend and Resume occurred and during that time the remote side
terminated the connection the client will not detect that the connection
has been lost after the Resume and will wait indefinitely.
TCP keepalive is designed precisely to handle such situations. Enabling
this socket option by default would not cause any disadvantages so simply
turning it on would also be a solution.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11671#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list