Closed holtwick closed 4 years ago
It would be nice to have a way to set the config for the peers like custom STUN and TURN servers. I added peerSettings here to y-webrtc.js to pass it through to Peer:
peerSettings
y-webrtc.js
Peer
https://github.com/holtwick/peer2school/blob/develop/src/lib/y-webrtc.js
Done. I implemented peerOpts and updated the README.
peerOpts
Thanks!
It would be nice to have a way to set the config for the peers like custom STUN and TURN servers. I added
peerSettings
here toy-webrtc.js
to pass it through toPeer
:https://github.com/holtwick/peer2school/blob/develop/src/lib/y-webrtc.js