Skip to content

Have Topside discover it's own IP address. #293

@cal-pratt

Description

@cal-pratt

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)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions