Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2015-05-04 04:54:18 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-05-04 04:54:18 +0300
commit4300905ed164b67c1d665a9ee51f06e2948421b9 (patch)
tree3cb910061f15894407de88e8ca2afc41fea32b80
parent4ceef9bc2c30d9db0b280e4ec37ac524edd49c4e (diff)
document `wrtc` constructor option
-rw-r--r--README.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/README.md b/README.md
index 54fac6f..c27c105 100644
--- a/README.md
+++ b/README.md
@@ -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)
}
```