diff --git a/client.js b/client.js index 010f8c7..1bc652f 100644 --- a/client.js +++ b/client.js @@ -64,7 +64,7 @@ function Client (opts) { debug('new client %s', self.infoHash) - var webrtcSupport = !!self._wrtc || typeof window !== 'undefined' + var webrtcSupport = self._wrtc !== false && (!!self._wrtc || typeof window !== 'undefined') var announce = (typeof opts.announce === 'string') ? [ opts.announce ]