Wowza Community

Wowza can't see the multicast stream, if it is coming not to default interface

Hello,

I’m tired from googling and searching the forum regarding the problem when multicast source stream is not on default route interface.

When multicast source stream is coming to default route interface, then I can see it in wowza engine and everything works fine.

But suddenly this is not acceptable in my network topology. In my network the multicast source is located in a separate network, so the only way to access it is to connect that network to a secondary network interface on the wowza server.

But I can’t get it working that way…

I have added lines to vhost.xml

true

10.10.10.10

also have added lines to Application.xml

multicastInterfaceAddress

10.10.10.10

10.10.10.10 is an address of secondary network interface on the server which is connected to the network where multicast stream is reachable

also have enabled in Server.xml

And after those changes, when I connect .stream file with content like udp://239.1.1.1:1234, server joins that multicast group on a right interface and with tcpdump I can see that multicast packets are flowing to the server. But Wowza engine still doesn’t see that stream.

What can be wrong, why this stream doesn’t reach the wowza application?

I’m not sure if this is the problem if you say that you do see multicast packets with tcpdump (maybe you see only igmp reports?), but you should have a static route for the multicast source that points over that secondary interface.

So, if you have eth0 and eth1, and multicast group 239.1.1.1 with multicast source 192.168.1.100, and this group is available via eth1 interface which has an IP address 10.10.10.10, then you shoud add e.g. “ip route add 192.168.1.0/24 via 10.10.10.1 dev eth1”.

I’m glad I could help. Good luck with your setup.

Thank you SiggDev, you have solved my problem. My fault was - that I have added a static route for multicast ( ip route add -net 239.0.0.0/8 via … ), not for multicast source address :).