From fa0b3e4535bf00c55428fe0f7e78f16241e8d25e Mon Sep 17 00:00:00 2001 From: Yoann Ciabaud Date: Tue, 7 Jun 2016 18:50:06 +0200 Subject: [PATCH] Double default for webrtc trackers (now Chrome 51 is released) #152 --- lib/client/websocket-tracker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/client/websocket-tracker.js b/lib/client/websocket-tracker.js index e21fa4c..c1095b8 100644 --- a/lib/client/websocket-tracker.js +++ b/lib/client/websocket-tracker.js @@ -61,7 +61,7 @@ WebSocketTracker.prototype.announce = function (opts) { self._send(params) } else { // Limit the number of offers that are generated, since it can be slow - var numwant = Math.min(opts.numwant, 5) + var numwant = Math.min(opts.numwant, 10) self._generateOffers(numwant, function (offers) { params.numwant = numwant