Compare commits

...

1 Commits

Author SHA1 Message Date
Julen Garcia Leunda
caab9c3b76 Enable uTP 2020-11-27 17:45:07 +01:00

View File

@@ -52,7 +52,7 @@ const PEER_ID = Buffer.from(VERSION_PREFIX + crypto.randomBytes(9).toString('bas
// Connect to the WebTorrent and BitTorrent networks. WebTorrent Desktop is a hybrid
// client, as explained here: https://webtorrent.io/faq
let client = window.client = new WebTorrent({ peerId: PEER_ID })
let client = window.client = new WebTorrent({ peerId: PEER_ID, utp: true })
// WebTorrent-to-HTTP streaming sever
let server = null