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

How end to end setup the Coturn? #10

Closed
Novienzi opened this issue Jan 18, 2021 · 3 comments
Closed

How end to end setup the Coturn? #10

Novienzi opened this issue Jan 18, 2021 · 3 comments

Comments

@Novienzi
Copy link

Novienzi commented Jan 18, 2021

hey, good afternoon from here. Do you mind if explain to me how to set up the coturn in development and production mode? Why I always end "TURN server doesn't work" when I test it on the link you recommended for. Or, what I have to do so I got these env parameters :
TURN_URL=turn:your_coturn_url?transport=udp
TURN_USERNAME=your_coturn_username
TURN_PASSWORD=your_coturn_password

Thanks.

@gjovanov
Copy link
Owner

For starting roomler app, you need to have all these service started:

  • mongo
  • redis
  • coturn
  • janus

It's explaine in the docs how to start each of them.

e.g. when starting coturn you are passing your own params:

  • --cli-password=MyTopSecret
  • --user=SuperUser:MyTopSecret
  • --server-name=your_domain
  • --realm=your_domain

So your coturn needs to be accessible from the internet, hence you pass the your_domain.

Then you use .env.example to rename it to .env and put in there the values of:

  • TURN_URL=turn:your_coturn_url?transport=udp - whereat your_coturn_url must match your_domain from coturn params
  • TURN_USERNAME=your_coturn_username - whereat your_coturn_username must match SuperUser from coturn params
  • TURN_PASSWORD=your_coturn_password - whereat your_coturn_password must match MyTopSecret from coturn params

@Novienzi
Copy link
Author

Okey, thanks. I'll try it.

@gjovanov
Copy link
Owner

Closing then... Feel free to reopen in case of an issue.

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