Support setting outgoing interface for multicast.
[cubemap] / main.cpp
index eaec887..14f6323 100644 (file)
--- a/main.cpp
+++ b/main.cpp
@@ -204,7 +204,8 @@ void create_streams(const Config &config,
                int stream_index = servers->add_udpstream(
                        udpstream_config.dst,
                        udpstream_config.pacing_rate,
-                       udpstream_config.ttl);
+                       udpstream_config.ttl,
+                       udpstream_config.multicast_iface_index);
 
                string src = udpstream_config.src;
                if (!src.empty()) {