diff options
author | Tristan Davies <github@tristan.io> | 2015-06-25 02:22:45 +0300 |
---|---|---|
committer | Tristan Davies <github@tristan.io> | 2015-06-25 05:00:36 +0300 |
commit | 2ecfcc017ed273861bbf5283e2c37414515ab27c (patch) | |
tree | 511680eecbcd260e3522a11194ec9e7b01b7bd5d /README.md | |
parent | b581c77088e5c21b735de5f2fb6c36df26cad709 (diff) |
extension support
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -266,7 +266,8 @@ If `opts` is specified, then the default options (shown below) will be overridde 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) - wrtc: {} // custom webrtc implementation (in node, specify the [wrtc](https://www.npmjs.com/package/wrtc) package) + wrtc: {}, // custom webrtc implementation (in node, specify the [wrtc](https://www.npmjs.com/package/wrtc) package) + onWire: Function // function to be called on each new wire. Use this to specify [custom bittorrent extensions](https://www.npmjs.com/package/bittorrent-protocol#extension-api) } ``` |