[FFmpeg-devel] [PATCH v3 5/5] doc/protocols: Add command-line description for ipv6 options

2025-08-29 Thread Peter Enderborg via ffmpeg-devel
Two new options added for receive IPv6 multicast streams. 1 multicast_max_joins 2 multicast_interface Change-Id: Ief0389815cff3edf26f7db5cbff033ce8bb24639 Signed-off-by: Peter Enderborg --- doc/protocols.texi | 17 - 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/d

[FFmpeg-devel] [PATCH v3 0/5] Select output interfaces for ipv6 multicast

2025-08-29 Thread Peter Enderborg via ffmpeg-devel
History: v2 Added configure script to disable interface selection for systems that do not support ioctl SIOCGIFINDEX for mapping name to index-id. v2.1 rebase v3 Added patches for command-line options to select interface and maximum number of interfaces. Spited iterate function to use a helper fu

[FFmpeg-devel] [PATCH v3 3/5] libavformat: udp.c Add support for multi or single join

2025-08-29 Thread Peter Enderborg via ffmpeg-devel
A new commandline option to set for joining multiple interfaces. The default is one, and it is also a special case falling back to output routing table for selecting interface on group join. On group join it search over all interfaces. Change-Id: Idbf88c3ecd7d27cba0a236a8fa2451a85143d068 Signed-of

[FFmpeg-devel] [PATCH v3 4/5] libavformat: add multicast interface

2025-08-29 Thread Peter Enderborg via ffmpeg-devel
Add a commandline option for selecting interface by name. This is useful when your multicast routing table for sending multicast does not match the interface reciving is wanted. Signed-off-by: Peter Enderborg --- libavformat/rtpproto.c | 4 libavformat/rtsp.c | 3 +++ libavformat/rtsp

[FFmpeg-devel] [PATCH v3 2/5] avformat/udp: Select output interfaces for ipv6 multicast

2025-08-29 Thread Peter Enderborg via ffmpeg-devel
This fixes two old TODO's in ipv6 multicast handling. If the system as SIOCGIFINDEX ioctl a helper function to iterate over all interfaces added to join the multicast group on interface if approperite. The default value is IN6ADDR_ANY (::) and it then joins all interfaces that are up and have mult

[FFmpeg-devel] [PATCH v3 1/5] configure: Add test_ioctl and test for SIOCGIFINDEX

2025-08-29 Thread Peter Enderborg via ffmpeg-devel
Adds a generic ioctl tester and a specific test SIOCGIFINDEX that sets ioctl_gifindex. It is a network specific feature and the tests are run only in network context. Signed-off-by: Peter Enderborg --- configure | 16 1 file changed, 16 insertions(+) diff --git a/configure b/c