diff --git a/index.html b/index.html
index 616d844..8be9494 100644
--- a/index.html
+++ b/index.html
@@ -1577,8 +1577,8 @@
// turn.urls = ["turn:turn2.obs.ninja:443"]; // US WEST
// session.configuration.iceServers.push(turn);
- // session.turn-mode == "twilio" // uncomment to use credentials for the turn-server provided by Twilio
- // session.turn-mode = "php-credentials" // uncomment to distribute the turn-username, -password and -server via running turn-credentials.php, e.g., if you have a turn-server with a static-auth-secret
+ // session.turnmode == "twilio" // uncomment to use credentials for the turn-server provided by Twilio
+ // session.turnmode = "php-credentials" // uncomment to distribute the turn-username, -password and -server via running turn-credentials.php, e.g., if you have a turn-server with a static-auth-secret
// session.configuration.iceTransportPolicy = "relay"; // uncomment to enable "&privacy" and force the TURN server
diff --git a/main.js b/main.js
index 23c5d24..4d22b8d 100644
--- a/main.js
+++ b/main.js
@@ -2474,7 +2474,7 @@ if (urlParams.has('speedtest')){ // forces essentially UDP mode, unless TCP is s
if (urlParams.has('turn')) {
var turnstring = urlParams.get('turn');
- if (turnstring == "twilio" || session.turn-mode == "twilio") { // a sample function on loading remote credentials for TURN servers.
+ if (turnstring == "twilio" || session.turnmode == "twilio") { // a sample function on loading remote credentials for TURN servers.
try {
session.ws = false; // prevents connection
@@ -2515,7 +2515,7 @@ if (urlParams.has('turn')) {
errorlog("Twilio Failed");
}
- } else if (turnstring == "php-credentials" || session.turn-mode == "php-credentials") { // a function loading the turn server credentials from the provided php-script "turn-credentials.php"
+ } else if (turnstring == "php-credentials" || session.turnmode == "php-credentials") { // a function loading the turn server credentials from the provided php-script "turn-credentials.php"
try {
session.ws = false; // prevents connection