Created
March 17, 2021 22:55
-
-
Save dryliketoast/0fca44385ba3894aece510f801e1153c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source: https://blog.danman.eu/new-version-of-lenkeng-hdmi-over-ip-extender-lkv373a/ | |
Device should send packets like this: | |
11:06:02.782172 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 1328 | |
11:06:02.782542 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 1328 | |
11:06:02.782775 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 1328 | |
11:06:02.783042 IP 192.168.1.238.5004 > 239.255.42.42.5004: UDP, length 1328 | |
Connect to stream when on same subnet: | |
vlc udp://@239.255.42.42:5004 | |
you can use SOCAT to relay from multicast to a unicast stream: | |
SRC=239.255.42.42 | |
SRCP=5004 | |
IF=eth0 | |
DST=192.168.0.2:1234 | |
# command to relay multicast to unicast | |
socat -T 3 UDP4-RECV:$SRCP,bind=$SRC,ip-add-membership=$SRC:$IF,reuseaddr UDP4-SENDTO:$DST,ip-multicast-ttl=8 | |
# then run vlc on 192.168.0.2 | |
vlc udp://@:1234 | |
# another useful tool for passing stream between vlans | |
https://github.com/troglobit/smcroute |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment