mafintosh / webrtc-swarm

Create a swarm of p2p connections using webrtc and a signalhub
MIT License
380 stars 60 forks source link

Add 'peer-connecting' event so simple-peer's 'track' events can be delivered, & ES6 changes. #43

Open OllieJones opened 3 years ago

OllieJones commented 3 years ago

This adds a new peer-connecting event. This is emitted as soon as peers are available, so simple-peer's track events are delivered.

(Also, some ES6 changes.)