[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 184.108.40.206 netmask 240.0.0.0 dev eth1
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://220.127.116.11:1234?localaddr=192.168.1.1' 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:
> Any clues of how to solve this issue programmatically?
> Libav-user mailing list
> Libav-user at ffmpeg.org
sans virus. www.avast.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user