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

Local deployment problem #838

Open
wudanwei opened this issue Aug 2, 2024 · 2 comments
Open

Local deployment problem #838

wudanwei opened this issue Aug 2, 2024 · 2 comments
Labels

Comments

@wudanwei
Copy link

wudanwei commented Aug 2, 2024

What can I do if there is no domain name in Intranet deployment? Can I use IP?

@wudanwei wudanwei added the bug label Aug 2, 2024
@wudanwei
Copy link
Author

wudanwei commented Aug 2, 2024

微信图片_20240802144543

@cruizba
Copy link
Member

cruizba commented Jan 9, 2025

@wudanwei

If it is for development purposes, I would recommend this setup: https://openvidu.io/latest/docs/self-hosting/local/

In case it is a prod deployment in a LAN, you can't use IPs but you can use services like sslip.io or openvidu-local.dev to workaround.

For example if the private ip of your machine is 10.0.0.5 you can set up this domain name:

10-0-0-5.sslip.io or 10-0-0-5.openvidu-local.dev.

You also need to set up your own certificate and install it on every machine which will use the server.

So, what I would do is:

  1. Create a certificate with mkcert or whatever tool you want to use to generate it.
  2. Install Openvidu with Certificate Type: owncert and configure the created certificate.
  3. Configure as domain: <your-ip>.sslip.io or <your-ip>.openvidu-local.dev

Also make sure to configure this in livekit.yaml:

rtc:
    use_external_ip: false
    node_ip: <your_private_ip>

Use the latest version 3.0.0 and let me know if this works for you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants