[FFmpeg-devel] [PATCH 4/4] avformat/udp: fix udp server mode haven't dest_addr
Jack Lau
jacklau1222gm at gmail.com
Thu Jul 10 04:46:19 EEST 2025
> On Jul 9, 2025, at 22:16, Timo Rothenpieler <timo at rothenpieler.org> wrote:
>
> 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.
Maybe we could add a udp option that enable this feature? And only enable it when user explicitly set.
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list