aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2019-07-15 17:40:59 -0300
committerJonas Smedegaard <dr@jones.dk>2019-07-15 17:40:59 -0300
commit1308bed485b74cc2c49e00bfbbd7bae4fd3c3925 (patch)
tree101a49c75524afc5c44d5539bb0b99ad55eeacdf
parent18054d92783b6cee8f5ed8ae18fa51602a5cf4e1 (diff)
Use iceServers.urls (not deprecated iceServers.url).
-rw-r--r--website/mic.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/website/mic.js b/website/mic.js
index e6a8b9c..f948f32 100644
--- a/website/mic.js
+++ b/website/mic.js
@@ -38,8 +38,8 @@ $(document).ready(function() {
janus = new Janus(
{
server: [websocket_server, "/janus"],
- iceServers: [{url: "turn:morla.jones.dk", username: "myturn", credential: "notsecure"},
- {url: "turn:jawa.homebase.dk", username: "myturn", credential: "notsecure"}],
+ iceServers: [{urls: "turn:morla.jones.dk", username: "myturn", credential: "notsecure"},
+ {urls: "turn:jawa.homebase.dk", username: "myturn", credential: "notsecure"}],
success: function() {
// Attach to streaming plugin
janus.attach(