Opened 6 years ago
Last modified 6 years ago
#7512 new defect
FFMPEG/FFPLAY LIBSRT Caller does not reconnect on sender reset
Reported by: | Jose Santiago | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | avformat |
Version: | git-master | Keywords: | libsrt, reconnect |
Cc: | Blocked By: | ||
Blocking: | Reproduced by developer: | no | |
Analyzed by developer: | no |
Description
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
Note:
See TracTickets
for help on using tickets.
FFMPEG Output: