[FFmpeg-devel] [PATCH v2 0/4] Fix some issues in tls_openssl and udp
Jack Lau
jacklau1222gm at gmail.com
Fri Jul 11 16:20:45 EEST 2025
v2 patchset add new udp option autodetect_dest.
Original description:
This patchset aims to fix some issues when i try to utilize DTLS using avio.
I create a simple DTLS client and server case here
https://github.com/JackLau1222/openssl-dtls-bio-example/tree/master/ffmpeg_case
This patchset fix:
1. dtls_handshake can't return positive code when it still in progressing
2. udp server mode haven't dest_addr so we need set it through last_recv_addr
3. some code cleanup
This patchset depends on Timo's latest schannel patchset
More details: https://github.com/BtbN/FFmpeg/pull/3
Jack Lau (4):
avformat/tls_openssl: add record trace function
avformat/tls_openssl: fix dtls_handshake return code
avformat/tls_openssl: remove all redundant "TLS: " in log with AVClass
avformat/udp: fix udp server mode haven't dest_addr
libavformat/tls_openssl.c | 78 +++++++++++++++++++++++++++++++--------
libavformat/udp.c | 4 ++
2 files changed, 66 insertions(+), 16 deletions(-)
--
2.49.0
More information about the ffmpeg-devel
mailing list