moneybutton / yours-core

Client-side key and content management for Yours.
https://www.yours.network
MIT License
132 stars 27 forks source link

dattcore: Peers: ConnectionBrowserWebRTC can connect browser <-> browser with PeerJS #60

Closed ryanxcharles closed 8 years ago

ryanxcharles commented 8 years ago

It should be possible to establish connections using PeerJS using a browser to itself with the (yet to exist) ConnectionBrowserWebRTC class.

ryanxcharles commented 8 years ago

Closed by https://github.com/dattnetwork/datt/commit/ff91ba87125d149e1c40ad2861f15ed9679302bb & https://github.com/dattnetwork/datt/commit/251ce5bff10b32b394b244de89d0fdb89ec71ac7 & https://github.com/dattnetwork/datt/commit/490261b6c598b36dd9db893d292df868dadaeff4 . Note that the interface you should use to make a connection is NetworkBrowserWebRTC, not ConnectionBrowserWebRTC. Actually, you should really use CorePeers dattcore once that exists.