To avoid having to override the config whenever we want to launch topside video on our dev devices, the Topside Java software should be able to determine it's own IP address before sending the VideoValue object.
There are many network interfaces present when searching for an IP address using built in Java libs (localhost, eth0, wlan0, etc), however, only one output will be in the same subnet as launch.broadcast, ie 192.168.88.X.
Determine this address and modify VideoDecoder to use this address instead of the value from the VideoDecoderConfig. During testing you can run locally (through eclipse or intellij) and update the launch.broadcast config value to broadcast on your eth or wlan address (can find by running ipconfig/ ifconfig in a terminal)
To avoid having to override the config whenever we want to launch topside video on our dev devices, the Topside Java software should be able to determine it's own IP address before sending the
VideoValueobject.There are many network interfaces present when searching for an IP address using built in Java libs (localhost, eth0, wlan0, etc), however, only one output will be in the same subnet as
launch.broadcast, ie192.168.88.X.Determine this address and modify
VideoDecoderto use this address instead of the value from theVideoDecoderConfig. During testing you can run locally (through eclipse or intellij) and update thelaunch.broadcastconfig value to broadcast on your eth or wlan address (can find by running ipconfig/ ifconfig in a terminal)