We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 808a920 commit 0d9ee4cCopy full SHA for 0d9ee4c
client.js
@@ -64,7 +64,7 @@ function Client (opts) {
64
65
debug('new client %s', self.infoHash)
66
67
- var webrtcSupport = !!self._wrtc || typeof window !== 'undefined'
+ var webrtcSupport = self._wrtc !== false && (!!self._wrtc || typeof window !== 'undefined')
68
69
var announce = (typeof opts.announce === 'string')
70
? [ opts.announce ]
0 commit comments