This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch release/9.0
in repository ffmpeg.
The following commit(s) were added to refs/heads/release/9.0 by this push:
new ca9d828102 avformat/whip: disable DTLS certificate verification
ca9d828102 is described below
commit ca9d8281024d24f0bf0b018a0ab94d2605ee011b
Author: Jack Lau <[email protected]>
AuthorDate: Fri Jul 3 20:56:36 2026 +0800
Commit: Jack Lau <[email protected]>
CommitDate: Tue Jul 7 22:27:00 2026 +0800
avformat/whip: disable DTLS certificate verification
Fix DTLS failure since 9549c9ad79ee399ff469a420223d4b6118498f7e
WebRTC does not verify CA because it allows self-signed cerificate.
Signed-off-by: Jack Lau <[email protected]>
(cherry picked from commit 6f2f3755a06bdab40028dd8bfcfe91e057aac845)
---
libavformat/whip.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/whip.c b/libavformat/whip.c
index edd9136d3e..ae2c116a4d 100644
--- a/libavformat/whip.c
+++ b/libavformat/whip.c
@@ -396,6 +396,8 @@ static av_cold int dtls_initialize(AVFormatContext *s)
av_dict_set_int(&opts, "external_sock", 1, 0);
av_dict_set_int(&opts, "use_srtp", 1, 0);
av_dict_set_int(&opts, "listen", is_dtls_active ? 0 : 1, 0);
+ // Do not verify CA
+ av_dict_set_int(&opts, "verify", 0, 0);
ret = ffurl_open_whitelist(&whip->dtls_uc, buf, AVIO_FLAG_READ_WRITE,
&s->interrupt_callback,
&opts, s->protocol_whitelist, s->protocol_blacklist, NULL);
av_dict_free(&opts);
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]