[FFmpeg-trac] #7512(avformat:new): FFMPEG/FFPLAY LIBSRT Caller does not reconnect on sender reset

FFmpeg trac at avcodec.org
Tue Oct 23 18:35:32 EEST 2018


#7512: FFMPEG/FFPLAY LIBSRT Caller does not reconnect on sender reset
-------------------------------------+-------------------------------------
             Reporter:  jlsantiago0  |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avformat     |                  Version:  git-
             Keywords:  libsrt,      |  master
  reconnect                          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 Summary of the bug:

 Run FFMPEG streaming TS in SRT:Listener mode. Run another FFMPEG or FFPLAY
 as SRT:Caller to the first FFMPEG in listener mode. Then Stop and restart
 the first FFMPEG. Then second one in caller mode does not reconnect after
 the first FFMPEG has restarted.

 NOTE: VLC in caller mode to the first FFMPEG:Listener will reconnect after
 the restart after the listener restarts.

 How to reproduce:

 FFMPEG Built with libsrt enabled.

 {{{
 # Step One: Run FFMPEG in listener Mode streaming MPEG2TS:
 $ ffmpeg -re -i /mnt/share/content/ts/001.ts  -codec copy -f mpegts
 'srt://:12345?mode=listener' -stream_loop -1

 # Step Two: Run FFMPEG or FFPLAY in caller mode:
 $ ffmpeg -i srt://10.66.133.30:12345 -codec copy -f null
 $ ffplay srt://10.66.133.30:12345

 # Step Three: Terminate the FFMPEG|Listener from Step One with CTRL-C and
 restart it. Note that if you have an FFMPEG/FFPLAY caller that was
 connected before, it will not reconnect. But if you are using VLC as the
 caller it will reconnect.

 ffmpeg version: git-master

 built on Linux, OSX, Windows
 }}}

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7512>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list