Skip to content

Commit

Permalink
Fix webtorrent error
Browse files Browse the repository at this point in the history
  • Loading branch information
ed-asriyan committed Feb 9, 2025
1 parent e307782 commit 284bd90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/stores/web-torrent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ export const createWebTorrentClient = async function () {
sdpSemantics: 'unified-plan',
bundlePolicy: 'max-bundle',
iceCandidatePoolsize: 1
}
},
torrentPort: 12318, // WTF?? https://github.com/webtorrent/webtorrent/issues/1071#issuecomment-374161952
});
client.createServer({ controller: serviceWorkerRegistration });
__client = client;
Expand Down

0 comments on commit 284bd90

Please sign in to comment.