-
Notifications
You must be signed in to change notification settings - Fork 614
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
Add TURN server parameters to start.sh script #4428
Conversation
bd47df7
to
0643027
Compare
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.
Could you just please take a look at the comments?
src/main/server/start.sh
Outdated
# Turn server configuration. | ||
if [ ! -z "${TURN_URL}" ] || [ ! -z "${TURN_USERNAME}" ] || [ ! -z ${TURN_PASSWORD} ]; then | ||
for applist in $LIST_APPS; do | ||
echo -e "settings.webrtc.stunServerURI=turn:${TURN_URL}\nsettings.webrtc.turnServerUsername=${TURN_USERNAME}\n |
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.
No need to force "turn:", it can be stun server as well.
src/main/server/start.sh
Outdated
@@ -15,6 +15,12 @@ | |||
# -u: MongoDB username: Deprecated. Just give the username in the connection string with -h parameter | |||
# | |||
# -p: MongoDB password: Deprecated. Just give the password in the connection string with -h parameter | |||
# | |||
# -a: TURN Server URL |
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.
Please give the url format simply. I think it should start with turn: or stun:
Kudos, SonarCloud Quality Gate passed! |
No description provided.