]> git.r.bdr.sh - rbdr/junction/blobdiff - extension/peers.js
Format and update docs
[rbdr/junction] / extension / peers.js
index be494b0ca477793f747c2c49415235b4afdc7c19..fced1085277c85649c6f551fbc84ecba440af091 100644 (file)
@@ -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 }] },
   const peerConnection = new RTCPeerConnection(
     { iceServers: internals.kIceServers },
     { optional: [{ DtlsSrtpKeyAgreement: true }] },