[FFmpeg-devel] [PATCH 4/4] avformat/udp: fix udp server mode haven't dest_addr
Timo Rothenpieler
timo at rothenpieler.org
Wed Jul 9 17:16:12 EEST 2025
On 09/07/2025 15:36, Jack Lau wrote:
> If udp is in server mode(init local addr and port through url),
> then it maybe haven't dest_addr, so we should set it after udp_read
> get the client addr and port
I'm also really not sure if this is correct, or what scenario it even fixes.
The vast majority of uses of UDP are strictly unidirectional, making
this a non-issue.
DTLS is one of the few exceptions there, and as the user of udp.c should
be the one responsible for setting the appropriate destination address
when in "server" mode.
More information about the ffmpeg-devel
mailing list