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

ICE, STUN & TURN included #766

Open
rkgarcia opened this issue Jun 20, 2022 · 5 comments
Open

ICE, STUN & TURN included #766

rkgarcia opened this issue Jun 20, 2022 · 5 comments

Comments

@rkgarcia
Copy link
Contributor

If you are not requesting a feature, please post to https://groups.google.com/d/forum/tinode instead.

Is your feature request related to a problem? Please describe.
Some users will have problems installing and configuring an ICE Server or probably can't pay for that.

Describe the solution you'd like
Embedding the requirements for Audio and Video Calls can be a plus to this application.

Describe alternatives you've considered
Another option we can consider is create a separated project under tinode that cover the ICE requirement, with easy integration.

Additional context
Audio and Videocalls will be a killer feature, we can work creating a better experience deploying the solution.

@pwFoo
Copy link

pwFoo commented Jan 17, 2023

Would be nice to have some prepared stun / turn for Tinode. I added config with a free stun server that works for me.

Instead of integrate / embedding stun / turn I think it would be better to have an example how to run own stun / turn servers as docker containers in a stack with tinode?

@or-else
Copy link
Contributor

or-else commented Jan 17, 2023

Feel free to share your configs. I will add them to the installation instructions.

@pwFoo
Copy link

pwFoo commented Jan 17, 2023

For now I just added a public stun server...

turn-config.json
[
  {
    "urls": [
      "stun:stun.l.google.com"
    ]
  }
]

But I'll take a look into coturn or something else in the future with a little bit more time. Any suggestion about a good / simple self hosted stun / coturn service?

@or-else
Copy link
Contributor

or-else commented Jan 17, 2023

		"ice_servers": [
			{
				"urls": [
					"stun:openrelay.metered.ca:80"
				]
			},
			{
				"username": "openrelayproject",
				"credential": "openrelayproject",
				"urls": [
					"turn:openrelay.metered.ca:80",
					"turn:openrelay.metered.ca:443",
					"turn:openrelay.metered.ca:443?transport=tcp"
				]
			}
		],

@uphargaur
Copy link

can u please add config for turn server @pwFoo

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

No branches or pull requests

4 participants