[FFmpeg-trac] #8372(avformat:new): SRT Handling Does Not Clean Up Connection

FFmpeg trac at avcodec.org
Fri Nov 8 10:24:58 EET 2019

#8372: SRT Handling Does Not Clean Up Connection
             Reporter:  whitik       |                    Owner:
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avformat
              Version:  unspecified  |               Resolution:
             Keywords:  SRT          |               Blocked By:
  Reconnection                       |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |

Comment (by whitik):

 I think I've spotted the problem.

 In libsrt.c, in libsrt_setup, in line 424 the context fd (the listener
 socket) is overwritten with the result of libsrt_listen (the new
 connection socket). So, when srt_close is called, it is not called with
 the listener socket.

Ticket URL: <https://trac.ffmpeg.org/ticket/8372#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list