ShareIt-project / WebP2P.io

The missing signaling channel of WebRTC
WebP2P.io
15 stars 3 forks source link

Option to disable inter-peers routing #18

Open piranna opened 11 years ago

piranna commented 11 years ago

Set inter-peers routing as a plugin and add option to disable it.

piranna commented 11 years ago

This will require to don't create a routing channel (currently labeled as "webp2p", this would also leed to make it a standard channel) and also move forwardRequest() and forwardResponse() to a Transport_Routing child class. Also access to that methods should be filtered someway.

piranna commented 11 years ago

InterPeer routing (IPX) could be enabled/disabled independently for peers or handshake servers, and also o a per-connection basis.