Double default for webrtc trackers (now Chrome 51 is released) #152

This commit is contained in:
Yoann Ciabaud 2016-06-07 18:50:06 +02:00
parent bbb8edcaa5
commit fa0b3e4535

View File

@ -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