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

TURN settings should not show up for normal users #185

Closed
jospoortvliet opened this issue Dec 14, 2016 · 13 comments
Closed

TURN settings should not show up for normal users #185

jospoortvliet opened this issue Dec 14, 2016 · 13 comments

Comments

@jospoortvliet
Copy link
Member

I see there's still a TURN setting for normal users... I guess that counts as a bug, right? No normal user would set up a TURN server, that's an admin's job and it does show up in the admin settings correctly.

@jancborchardt
Copy link
Member

Yup, it should be an admin setting primarily. Part of the setting should probably be to »Allow users to change TURN settings«. Off by default of course.

cc @LukasReschke @MorrisJobke @fancycode @Ivansss

@jospoortvliet
Copy link
Member Author

jospoortvliet commented Dec 15, 2016

just for my curiosity, what is the use case for a user setting this? Under what circumstances would that be needed, when would an admin not do it but the user would? Because if that is a super rare corner case I wouldn't put it in the admin settings, only in the config file... Or not at all, to keep the code from rotting away and causing issues ;-)

@MorrisJobke
Copy link
Member

just for my curiosity, what is the use case for a user setting this? Under what circumstances would that be needed, when would an admin not do it but the user would?

You can rent a TURN server by yourself and put it in there, but for convenience the admin should maybe provide one TURN server for all users.

@muppeth
Copy link

muppeth commented Dec 18, 2016

As I understand it right. Currently each user needs to provide TURN Server user and password?

@nickvergessen
Copy link
Member

@muppeth no currently there are 3 steps IIRC:

  1. User setting
  2. Admin setting
  3. Default fallback turn-server

@muppeth
Copy link

muppeth commented Dec 21, 2016

@nickvergessen Do they all have to be filled in? For example if I setup TURN Servers address in Admin > Additional Settings > Spreed video calls (by providing Address and shared secret) shouldn't that be enough. It works well like this with Spreed.me and other webrtc based services I'm hosting.

Does Admin in his Personal settings have to provide username for Turn Server? Or is it only optional?

@jancborchardt
Copy link
Member

@nickvergessen can we have the user settings be prefilled with what the admin settings are? Just as the STUN defaults prefill with our server.

@MorrisJobke
Copy link
Member

@jancborchardt we can't prefill because they are regenerated continuously from the secret for every user - we only could add an indicator that the admin already provided this

@jancborchardt
Copy link
Member

we only could add an indicator that the admin already provided this

Sounds good. Because there seems to be a major confusion about these settings being there. If the admin provided them, the whole section should maybe even be collapsed saying »Settings already provided by admin« and then a button to »Change« or so.

@LukasReschke
Copy link
Member

I do again want to mention that I consider a by-user setting rather confusing and useless. I'd be totally fine with an instance-wide setting.

@nickvergessen
Copy link
Member

I will then do that in january

@muppeth
Copy link

muppeth commented Dec 28, 2016

I also noticed once you put the turn settings in your personal settings section, you can't remove them as the fields cannot be blank. I had to remove them directly from the database.

@nickvergessen
Copy link
Member

Now part of #198

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

6 participants