Skip to content
This repository has been archived by the owner on Dec 1, 2020. It is now read-only.

Configuration setting for explicit server IP #1

Merged
merged 1 commit into from
Sep 13, 2019

Conversation

DavisNT
Copy link
Collaborator

@DavisNT DavisNT commented Sep 1, 2019

This PR allows to specify explicit IP address or ALVR server.

Server IP can be set from computer - by command line:
adb shell am startservice -n "com.polygraphene.alvr/.ChangeSettings" --es "targetServers" "10.10.10.10"
Multiple IP addresses can be separated by comma (and some other characters).
Setting can be effectively removed by using any string shorter than 7 characters (e.g. "none") instead of IP address.

This should provide native support for ALVR server and VR headset on different subnets/networks (e.g. ALVR over VPN and cloud gaming).

This closes (however - without the new GUI element): polygraphene#25

Server IP can be set by:
adb shell am startservice -n "com.polygraphene.alvr/.ChangeSettings" --es "targetServers" "10.10.10.10"
Multiple IP addresses can be separated by comma.

Setting can be effectively removed by:
adb shell am startservice -n "com.polygraphene.alvr/.ChangeSettings" --es "targetServers" "none"

DNS names are currently not supported.
@DavisNT
Copy link
Collaborator Author

DavisNT commented Sep 6, 2019

Did some more testing and fixed description (commit message).
Improved code readability (a bit) and rebased.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants