mirror of
https://github.com/webtorrent/bittorrent-tracker.git
synced 2025-01-31 10:31:36 +00:00
readme
This commit is contained in:
parent
79898abcf0
commit
00e84cb669
@ -60,8 +60,10 @@ var port = 6881
|
|||||||
|
|
||||||
// optional options dictionary
|
// optional options dictionary
|
||||||
var opts = {
|
var opts = {
|
||||||
rtcConfig: {}, // RTCPeerConnection configuration object
|
// RTCPeerConnection config object (only used in browser)
|
||||||
wrtc: {}, // custom webrtc impl (useful in node.js)
|
rtcConfig: {},
|
||||||
|
// custom webrtc impl, useful in node to specify [wrtc](https://npmjs.com/package/wrtc)
|
||||||
|
wrtc: {},
|
||||||
getAnnounceOpts: function () {
|
getAnnounceOpts: function () {
|
||||||
// provide a callback that will be called whenever announce() is called
|
// provide a callback that will be called whenever announce() is called
|
||||||
// internally (on timer), or by the user
|
// internally (on timer), or by the user
|
||||||
|
Loading…
Reference in New Issue
Block a user