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

Maybe EXTERNAL_HOSTNAME should be overridable dynamically #23

Closed
jackjansen opened this issue Apr 29, 2024 · 1 comment
Closed

Maybe EXTERNAL_HOSTNAME should be overridable dynamically #23

jackjansen opened this issue Apr 29, 2024 · 1 comment

Comments

@jackjansen
Copy link
Contributor

If it is possible to determine the hostname that was used for the current orchestrator connection (which I think should be the case: it's somewhere in the HTTP headers of the original request) it might be a good idea to use that in stead of EXTERNAL_HOSTNAME when building URLs for SFUs, etc.

It would solve two issues. First, when connecting to a multi-homed orchestrator (such as our vrtnuc) the client will use the same network interface when connecting to an SFU. Second, and more important practically, Windows has continuous issues with resolving MDNS addresses. Sometimes it works fine, sometimes it doesn't work, sometimes it sometimes works.

There's a workaround for VR2Gather (during developing at home): I can simply put the orchestrator IP address in the config file in stead of the .local address. But if the orchestrator then replies with SFU addresses that have the .local again things still don't work.

@troeggla
Copy link
Member

If EXTERNAL_HOSTNAME in .env is left unset or set to dynamic, the server will try to determine the external hostname from the request header when creating a new session. An error will be raised if it fails to do so.

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

2 participants