diff --git a/html/control.html b/html/control.html
index f96d2b9..a731801 100644
--- a/html/control.html
+++ b/html/control.html
@@ -754,11 +754,11 @@
show(videoContainer);
const iceServers = [
- [ { urls: ['stun:stun.l.google.com:19302'] } ]
+ { urls: ['stun:stun.l.google.com:19302'] }
];
fetch(webrtcURL, {
- body: JSON.stringify({type: 'request'}),
+ body: JSON.stringify({type: 'request', iceServers: iceServers}),
headers: {'Content-Type': 'application/json'},
method: 'POST'
}).then(function(response) {
@@ -819,4 +819,4 @@
}
})
-