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