Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Disable utp for webtorrent

Chocobozzz65e7ffba1586
diff --git a/server/core/helpers/webtorrent.ts b/server/core/helpers/webtorrent.ts
index 15d4a832af..f7e4627db9 100644
--- a/server/core/helpers/webtorrent.ts
+++ b/server/core/helpers/webtorrent.ts
@@ -38,7 +38,8 @@ async function downloadWebTorrentVideo (target: { uri: string, torrentName?: str
// eslint-disable-next-line new-cap
const webtorrent = new (await import('webtorrent')).default({
natUpnp: false,
- natPmp: false
+ natPmp: false,
+ utp: false
} as any)
return new Promise<string>((res, rej) => {