diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2015-05-04 04:54:18 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2015-05-04 04:54:18 +0300 |
commit | 4300905ed164b67c1d665a9ee51f06e2948421b9 (patch) | |
tree | 3cb910061f15894407de88e8ca2afc41fea32b80 | |
parent | 4ceef9bc2c30d9db0b280e4ec37ac524edd49c4e (diff) |
document `wrtc` constructor option
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -256,8 +256,9 @@ If `opts` is specified, then the default options (shown below) will be overridde nodeId: String|Buffer, // DHT protocol node ID (default=randomly generated) peerId: String|Buffer, // Wire protocol peer ID (default=randomly generated) rtcConfig: Object, // RTCPeerConnection configuration object (default=STUN only) - storage: Function // custom storage engine, or `false` to use in-memory engine - tracker: Boolean // Whether or not to enable trackers (default=true) + storage: Function, // custom storage engine, or `false` to use in-memory engine + tracker: Boolean, // Whether or not to enable trackers (default=true) + wrtc: {} // custom webrtc implementation (in node, specify the [wrtc](https://www.npmjs.com/package/wrtc) package) } ``` |