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 @@

Release

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 @@

Release

} }) - \ No newline at end of file + diff --git a/html/webrtc.html b/html/webrtc.html index 3020e57..08e6692 100644 --- a/html/webrtc.html +++ b/html/webrtc.html @@ -48,7 +48,7 @@