Skip to content

Commit

Permalink
config rtc available
Browse files Browse the repository at this point in the history
  • Loading branch information
Chat-Wane committed Feb 27, 2015
1 parent 67646a0 commit b7b2980
Show file tree
Hide file tree
Showing 4 changed files with 45 additions and 33 deletions.
64 changes: 38 additions & 26 deletions build/rtc-scamp.bundle.debug.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions build/rtc-scamp.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lib/network.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var BoundedBroadcast = require("bounded-broadcast-definition").Def;
var SCAMP = require("rtc-scamp-mbr");
var Network = require("p2pnetwork");

module.exports = function(uid){
module.exports = function(uid, options){
return Network.init({broadcastDefinition:new BoundedBroadcast(500),
membership:new SCAMP(uid)});
membership:new SCAMP(uid, options)});
};
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rtc-scamp",
"version": "0.0.3",
"version": "0.0.4",
"author": "Chat-Wane <[email protected]>",
"description": "Gossip-based dissemination protocol using the SCAMP membership management that automatically scales with the global size of the network without global knowledges.",
"main": "./lib/network.js",
Expand Down

0 comments on commit b7b2980

Please sign in to comment.