diff --git a/src/content/peerconnection/channel/js/main.js b/src/content/peerconnection/channel/js/main.js index 6c797e5ac..b597d4baf 100644 --- a/src/content/peerconnection/channel/js/main.js +++ b/src/content/peerconnection/channel/js/main.js @@ -80,7 +80,7 @@ async function hangup() { hangupButton.disabled = true; }; -function createPeerConnection() { +async function createPeerConnection() { pc = new RTCPeerConnection(); pc.onicecandidate = e => { const message = {