srt: Read several chunks per blocking read call
libsrt input is asynchonously buffered internally and it makes sense to empty those receive buffers as much as possible on every signaled receive event from epoll. Doing so reduces context switching/re-scheduling and improves performance. Signed-off-by:Thomas Guillem <thomas@gllm.fr> (cherry picked from commit ca7b0fcc) (rebased) rebased: * master has direct stream_sys_t typedef Signed-off-by:
Steve Lhomme <robux4@ycbcr.xyz>
Please register or sign in to comment