[FFmpeg-devel] [PATCH v2] avformat: enable UDP IPv6 multicast interface selection

Rémi Denis-Courmont remi at remlab.net
Wed Mar 20 14:17:34 EET 2024



Le 20 mars 2024 13:45:10 GMT+02:00, "Ignjatović, Lazar (RS)" <Lazar.Ignjatovic at cubic.com> a écrit :
>
>This message has been marked as Public on 03/20/2024 11:45Z.
>On Wednesday, March 20, 2024 12:30 PM Rémi Denis-Courmont wrote:
>
>> You're not supposed to guess the link ID from the local address. This is counter-sensical. And it's entirely possible to have the same LL address assigned to two interfaces (e.g. using a software bridge) anyway.
>
>You are right about the same LL on multiple interfaces, that’s why the `sin6_scope_id` is used. For specifying LL address, a scoped address format should be used to avoid ambiguity.

Yes, the whole point is that LL addresses are ambiguous.

> In all other cases, determining the interface ID by address should be ok,

No! The only other case is non-LL addressing, which does not require link ID at all.

Still -1.


More information about the ffmpeg-devel mailing list