Replaced simple-signal and socket.io in favor of socket-signal.
This change allows to use clean websockets and reduce the size of the library since we don't need socket.io anymore.
Also socket-signal was designed like an abstract client that you can extend and create custom signal clients. For example discovery-swarm-webrtc is using socket-signal-websocket and extended to work with MMST.
Added sw.connect(channel, peerId) method to establish direct connections to a specific peer.
Changes
simple-signal
andsocket.io
in favor of socket-signal.This change allows to use clean websockets and reduce the size of the library since we don't need socket.io anymore.
Also socket-signal was designed like an abstract client that you can extend and create custom signal clients. For example discovery-swarm-webrtc is using socket-signal-websocket and extended to work with MMST.
Added
sw.connect(channel, peerId)
method to establish direct connections to a specific peer.Added browser testing.