[Libav-user] Stream RTP to a specific network interface OR accessing underlying UDP socket

Mohamed Ismail Mejri imejri at sabsystem.com
Fri Mar 23 02:23:04 EET 2018


Use your OS routing table. Example in linux:
#  route add -net netmask dev eth1
Best regards.

2018-03-22 17:17 GMT+01:00 LP C <lp.cordier at dynamixyz.com>:

> Hi everybody,
> Currently coding a C application that is sending video over the network
> using MULTICAST, I am looking for a way to set on which network interface
> the RTP stream should be sent.
> I tried to use 'rtp://' but it does
> not work. After digging in the source code of the RTP protocol, it seems
> that this option is not supported right now.
> Thus I would like to know if I can access to the underlying socket in
> order to apply IP_MULTICAST_IF using setsockopt (6.3:
> https://www.tldp.org/HOWTO/Multicast-HOWTO-6.html)
> Any clues of how to solve this issue programmatically?
> Thanks,
> _______________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user

sans virus. www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20180323/f5ea1cfe/attachment.html>

More information about the Libav-user mailing list