Is there a way to manage the conversion of an UDP unicast stream into a multicast , using RouterOS?
thanks in advance for your help
Is there a way to manage the conversion of an UDP unicast stream into a multicast , using RouterOS?
thanks in advance for your help
Unless a miracle happens.
http://forum.mikrotik.com/t/push-same-traffic-to-different-devices/155898/13
Look at streaming between devices. Do you use Enigma2?
This time the question is about UDP rather than TCP, as with your thread, msatter, so it changes the situation entirely.
FabFab10, I suspect you can do what you want with nothing but a srcnat rule. Something like
/ip firewall nat add chain=srcnat src-address=1.2.3.4 protocol=udp dst-port=1234 action=src-nat to-addresses=239.255.42.42 out-interface=bridge1
Completely untested. Fire foot-gun at feet at one’s own risk.
The main trick is getting that unicast UDP stream going. Once it crosses the firewall, a rule like the above can rewrite the destination IP to be multicast.
Beware that this won’t work on RouterOS boxes that try to hardware-offload everything. The packet has to cross the firewall for this to work, so it either needs to be a router-class device or you have to disable hardware-offloading to push the packet through the CPU for this to work.
Missed that bit essential bit of information.
I solved my problem today and it took a lot of burning the midnight oil and I fall a sleep a lot right now. Just catching up on sleep right now.
Containers would be a miracle here.
ffmpeg
could likely do this conversion in a Docker container (assuming using “copy” mode [e.g. no re-encoding] within ffmpeg). Or, a host of other Linux-based DVB/IPTV tools.