Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add config file option for server-autostart feature #446

Open
DuFF14 opened this issue Jul 18, 2016 · 0 comments
Open

Add config file option for server-autostart feature #446

DuFF14 opened this issue Jul 18, 2016 · 0 comments

Comments

@DuFF14
Copy link
Member

DuFF14 commented Jul 18, 2016

From discussion on OSVR/OSVR-Unity#176, here is a summary of points made by @JeroMiya and @demonixis

  • Prioritize VR plugins and conditionally auto-start OSVR when/if-and-only-if OSVR is actually being used, instead of enabling/disabling auto-start on a per-app basis. We should look into ways to make prioritization and lazy initialization easier for Unity developers.
  • Users should have control over toggling auto-start on/off, across all apps. This makes application behavior more consistent for the user.

We could do it a couple of ways:

  • A server config option. Plus add an -autostart argument to the server to let it know that it's being launched with the auto-start API, and should make note of the setting. This is my preference.
  • A second environment variable to toggle auto-start. Kind of kludgy but gets the job done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant