Without these two changes, keep-alive utilizing functionality as well as other connectivity that does not close the connection would not get all the available data, and instead would be in a loop of recv waiting to be stopped by the retry wrapper (which would then promptly call read again).
Quite possible that this also fixes Trac ticket #7894, but unfortunately I do not have any RTMPS streams available for testing. The improvements were tested with an HTTPS HLS stream, and the quality of life difference is significant. Jan Ekström (2): avformat/tls_schannel: always decrypt all received data avformat/tls_schannel: immediately return decrypted data if available libavformat/tls_schannel.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) -- 2.26.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".