[FFmpeg-devel] [PATCH 0/2] avformat/tls_channel: fixes to make keep-alive work

Jan Ekström jeebjp at gmail.com
Wed May 13 01:05:23 EEST 2020


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



More information about the ffmpeg-devel mailing list