ffmpeg | branch: master | Jack Lau <jacklau1...@qq.com> | Thu Jul 17 20:10:22 2025 +0800| [25e710c61ebf4c6909276a894a77ea26b02e59ce] | committer: Timo Rothenpieler
avformat/whip: force NONBLOCK for rtp We need to ensure rtp sets NONBLOCK since the dtls handshake has potentially overriden the sockets mode. Signed-off-by: Jack Lau <jacklau1...@qq.com> Signed-off-by: Timo Rothenpieler <t...@rothenpieler.org> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=25e710c61ebf4c6909276a894a77ea26b02e59ce --- libavformat/whip.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/whip.c b/libavformat/whip.c index 17a3cd0ea8..fd6de8503f 100644 --- a/libavformat/whip.c +++ b/libavformat/whip.c @@ -1495,6 +1495,7 @@ static int create_rtp_muxer(AVFormatContext *s) uint8_t *buffer = NULL; char buf[64]; WHIPContext *whip = s->priv_data; + whip->udp->flags |= AVIO_FLAG_NONBLOCK; const AVOutputFormat *rtp_format = av_guess_format("rtp", NULL, NULL); if (!rtp_format) { _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".