FFMPEG/FFPLAY LIBSRT Caller does not reconnect on sender reset
|Reported by:||Jose Santiago||Owned by:|
|Blocking:||Reproduced by developer:||no|
|Analyzed by developer:||no|
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