X-Git-Url: https://git.r.bdr.sh/rbdr/junction/blobdiff_plain/3f2e36eabf1494ac60a3cf533d3db86d25a6cc39..5d2c4ecb44233569a516dde301a02d44098ec15d:/extension/peers.js diff --git a/extension/peers.js b/extension/peers.js index be494b0..fced108 100644 --- a/extension/peers.js +++ b/extension/peers.js @@ -13,7 +13,13 @@ const internals = { }, }; -export function addPeer({ peerId, shouldCreateOffer, mediaStream, onOffer, socket }) { +export function addPeer({ + peerId, + shouldCreateOffer, + mediaStream, + onOffer, + socket, +}) { const peerConnection = new RTCPeerConnection( { iceServers: internals.kIceServers }, { optional: [{ DtlsSrtpKeyAgreement: true }] },