]> git.sesse.net Git - vlc/commit
RTP out: improve soft-error handling
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 10 Mar 2009 16:54:03 +0000 (18:54 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Tue, 10 Mar 2009 16:54:03 +0000 (18:54 +0200)
commit9fdc8915682d3d3beae69f6956616b660ec9963b
treed5cb7e9c5072a493f0d82bca4b7bd066b01e523e
parent47808d9be42bd36c26cfe488e9699fa76429ec49
RTP out: improve soft-error handling

When the socket is congested, we should simply skip sending.
When there is a soft-error, we should resend and simply ignore.

Instead, we were dropping the socket if the failure remained on the
second try, which was always the case in the congestion scenario.
This should fix the socket dropping problem described at:
http://forum.videolan.org/viewtopic.php?f=4&t=56493
modules/stream_out/rtp.c