[FFmpeg-devel] [PATCH] avformat: enable UDP IPv6 multicast interface selection using zone index

2024-03-26 Thread RS
avformat: enable UDP IPv6 multicast interface selection using zone index Enabled IPv6 interface selection using zone index. Properly resolved interface index in places where default 0 interface index is used (marked with TODO: within udp.c). Adjusted binding for multicast sockets that are used for

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

2024-03-19 Thread RS
This message has been marked as Public on 03/19/2024 09:40Z. On Friday, March 15, 2024 5:27 PM Rémi Denis-Courmont wrote: >> >> localaddr option now properly works with IPv6 addresses. Properly >> resolved interface index in places where default 0 interface index is >> used (marked with TODO: wi

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

2024-03-18 Thread Michael Niedermayer
Hi On Mon, Mar 18, 2024 at 01:45:00PM +, Ignjatović, Lazar (RS)� wrote: > > This message has been marked as Public on 03/18/2024 13:45Z. > On Thursday, March 14, 2024 10:14 PM, Michael Niedermayer wrote: > > > breaks mingw64 build > > > > CC libavformat/ip.o > > src/libavformat/ip.c: In

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

2024-03-18 Thread RS
This message has been marked as Public on 03/18/2024 13:45Z. On Thursday, March 14, 2024 10:14 PM, Michael Niedermayer wrote: > breaks mingw64 build > > CC libavformat/ip.o > src/libavformat/ip.c: In function ‘ff_ip_resolve_interface_index’: > src/libavformat/ip.c:206:1: error: control reach

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

2024-03-15 Thread Rémi Denis-Courmont
Le jeudi 14 mars 2024, 11:22:40 EET Ignjatović, Lazar (RS) a écrit : > avformat: enable UDP IPv6 multicast interface selection > > localaddr option now properly works with IPv6 addresses. Properly resolved > interface index in places where default 0 interface index is used (marked > with TODO: wit

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

2024-03-14 Thread Michael Niedermayer
On Thu, Mar 14, 2024 at 12:04:47PM +, Ignjatović, Lazar (RS) wrote: > localaddr option now properly works with IPv6 addresses. Properly > resolved interface index in places where default 0 interface index is > used (marked with TODO: within udp.c). Added SO_BINDTODEVICE for mcast > sockets that

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

2024-03-14 Thread RS
localaddr option now properly works with IPv6 addresses. Properly resolved interface index in places where default 0 interface index is used (marked with TODO: within udp.c). Added SO_BINDTODEVICE for mcast sockets that are used for reading from the network. Need for this arises from the fact that

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

2024-03-14 Thread RS
>> +if (if_indextoname(iface, ifr.ifr_name)) { >> +if (setsockopt(udp_fd, SOL_SOCKET, SO_BINDTODEVICE, (void >> *)&ifr, sizeof(ifr)) < 0) { >> +perror("setsockopt SO_BINDTODEVICE"); > > This should use the proper av_log logging instead. Will fix and

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

2024-03-14 Thread epirat07
On 14 Mar 2024, at 10:22, Ignjatović, Lazar wrote: > avformat: enable UDP IPv6 multicast interface selection > > localaddr option now properly works with IPv6 addresses. Properly resolved > interface index in places where default 0 interface index is used (marked with > TODO: within udp.c). Adde

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

2024-03-14 Thread RS
avformat: enable UDP IPv6 multicast interface selection localaddr option now properly works with IPv6 addresses. Properly resolved interface index in places where default 0 interface index is used (marked with TODO: within udp.c). Added SO_BINDTODEVICE for mcast sockets that are used for reading f