[FFmpeg-devel] [PATCH] UDP IGMPv3 source specific multicast and source blocking
Martin Storsjö
martin
Wed Sep 15 11:56:18 CEST 2010
Hi,
On Mon, 13 Sep 2010, Stephen D'Angelo wrote:
> Attached is a patch to add support for IGMPv3 source specific multicast
> and multicast source blocking.
>
> It currently uses a URL format of:
>
> udp://232.0.0.1:1234?include=1&sources=192.168.0.1,192.168.0.2,192.168.0
> .3
>
> Where "include" specifies whether we allow (1) or block (0) the
> comma-separated list of IP addresses. I'm completely open to formatting
> this in some other way.
>
> Also, I am currently storing an array of 32 char * within the UDPContext
> for the list of sources. Does FFMPEG have any utility functions for
> dynamically creating lists? Though some z/OS documentation provided by
> IBM
> (http://publib.boulder.ibm.com/infocenter/zos/v1r10/topic/com.ibm.zos.r1
> 0.hala001/f1a1d47031.htm#wq94) states that the maximum number of sources
> is 20 for UDP sockets anyway, so maybe an array of 20 will do.
>
> I have only tested this in Linux.
I'm forwarding this to Luca A, who's currently offline and not subscribed
but will be back next week - I hope he has better knowledge on the UDP
multicast stuff than I have.
// Martin
More information about the ffmpeg-devel
mailing list