diff --git a/src/content/peerconnection/trickle-ice/index.html b/src/content/peerconnection/trickle-ice/index.html index 4373bc16c7..9c2d7ece8c 100644 --- a/src/content/peerconnection/trickle-ice/index.html +++ b/src/content/peerconnection/trickle-ice/index.html @@ -101,18 +101,11 @@

ICE options

relay -
- - 0 - 0 - - 10 -
- +
-
+
diff --git a/src/content/peerconnection/trickle-ice/js/main.js b/src/content/peerconnection/trickle-ice/js/main.js index 1b21c39a54..b7906bca9d 100644 --- a/src/content/peerconnection/trickle-ice/js/main.js +++ b/src/content/peerconnection/trickle-ice/js/main.js @@ -17,7 +17,6 @@ const resetButton = document.querySelector('button#reset'); const servers = document.querySelector('select#servers'); const urlInput = document.querySelector('input#url'); const usernameInput = document.querySelector('input#username'); -const iceCandidatePoolInput = document.querySelector('input#iceCandidatePool'); const getUserMediaInput = document.querySelector('input#getUserMedia'); addButton.onclick = addServer; @@ -30,11 +29,6 @@ resetButton.onclick = (e) => { setDefaultServer(serversSelect); }; -iceCandidatePoolInput.onchange = (e) => { - const span = e.target.parentElement.querySelector('span'); - span.textContent = e.target.value; -}; - let begin; let pc; let stream; @@ -148,7 +142,6 @@ async function start() { const config = { iceServers: iceServers, iceTransportPolicy: iceTransports, - iceCandidatePoolSize: iceCandidatePoolInput.value }; const offerOptions = {offerToReceiveAudio: 1};