mafintosh / webrtc-swarm

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

Pass default offerConstraints to simple peer #13

Closed bthesorceror closed 8 years ago

bthesorceror commented 8 years ago

Fixes an issue with using simple-peer needing offerConstraints with wrtc

perguth commented 8 years ago

We should rather pass offerConstraints through instead of just setting it to an empty object.

bthesorceror commented 8 years ago

I have updated this to allow someone using the library to pass in offer constraints when they create a swarm or to use a default of an empty object

bthesorceror commented 8 years ago

Semi colon removed to conform to standard :)

perguth commented 8 years ago

🍰

mafintosh commented 8 years ago

2.5.0