mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-09-20 09:58:05 +03:00
Disable utp for webtorrent
Prevent crash like https://github.com/Chocobozzz/PeerTube/issues/6222
This commit is contained in:
parent
a53834bdff
commit
65e7ffba15
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user