webrtc: always use iceServers instead of ice_servers

This commit is contained in:
Kamil Trzcinski
2023-06-14 00:18:56 +02:00
parent 836d3177b0
commit 01b0e969b3
3 changed files with 8 additions and 6 deletions

View File

@ -753,6 +753,10 @@
stopStream();
show(videoContainer);
const iceServers = [
[ { urls: ['stun:stun.l.google.com:19302'] } ]
];
fetch(webrtcURL, {
body: JSON.stringify({type: 'request'}),
headers: {'Content-Type': 'application/json'},