-
Notifications
You must be signed in to change notification settings - Fork 509
Provide multiple STUN servers to webrtc client #5503
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
Conversation
danxuliu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As explained in the pull request for the TURN server settings the returned stunservers object resembles the RTCIceServer dictionary, but it is just data passed to the clients which each client parses on its own way.
In the case of the STUN server the url parameter must be kept too (it is used by the iOS client and the Android client; the WebUI uses the stunservers object as is). Moreover, note that the url parameter of the STUN server must be a string, not a list with a single element.
Similarly to the other pull request, composing the urls should be done in SignalingController::getSettings. In this case then it is probably not needed to have a Config::getStunSettings method, as it will just forward to Config::getStunServers. Although for simmetry with the TURN servers you could also add a Config::getStunSettings that returns a hardcoded stun: scheme, but I have no preference, as you prefer.
Same comment here as with the turn: |
|
Thank you for the review.
I completely removed |
|
Like explained in the other pull request I have added a fixup to keep the format, and I have extracted the format changes to their own pull request. Please remember to adjust the commit message after doing the fixup :-) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unifying urls will be done #5582
brknkfr
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unifying urls will be done #5582
- Provide multiple STUN servers to webrtc client when specified in nextcloud backend instead of just 1 random one Signed-off-by: Sebastian L <[email protected]>
danxuliu
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested* and works 👍
*Only in the WebUI, although from reading the mobile apps code it should work as well.
Thanks!
Uh oh!
There was an error while loading. Please reload this page.