[FFmpeg-trac] #9142(avformat:new): LIBSRT uses wrong write-readiness epoll on a listener socket
FFmpeg
trac at avcodec.org
Fri Feb 16 19:16:57 EET 2024
#9142: LIBSRT uses wrong write-readiness epoll on a listener socket
-------------------------------------+-------------------------------------
Reporter: Mikołaj | Owner: (none)
Małecki |
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: libsrt | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Comment (by Mikołaj Małecki):
Just a reminder. We would like to fix this bug in SRT, and after we do it
the listener mode for SRT in ffmpeg will no longer work.
Let me clarify: the SRT documentation stated it clearly that the epoll
flag in the listener socket that triggers the accept-readiness is
SRT_EPOLL_IN. If this was done differently, it wasn't done according to
the API documentation and it only works thanks to a bug that will soon be
fixed.
To test this above fix, simply run ffmpeg with reading or sending a stream
in listener mode. To make a transmission over SRT (even within the
internal network of one machine) from a media file using `ffmpeg -re` for
sending and the other command for sending it to a file (or simply receive
it via ffplay).
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9142#comment:3>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list