Skip to content

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

Fix webtorrent player

Chocobozzzab2e90f3cae7
diff --git a/client/package.json b/client/package.json
index ac65392dcc..111bd68a8c 100644
--- a/client/package.json
+++ b/client/package.json
@@ -137,7 +137,7 @@
"webpack": "^5.73.0",
"webpack-bundle-analyzer": "^4.4.2",
"webpack-cli": "^4.10.0",
- "webtorrent": "^1.8.22",
+ "webtorrent": "1.8.26",
"whatwg-fetch": "^3.0.0",
"zone.js": "~0.11.4"
},
diff --git a/client/yarn.lock b/client/yarn.lock
index 7072185164..23f49d7dcf 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -4276,7 +4276,7 @@ crc32-stream@^4.0.2:
crc-32 "^1.2.0"
readable-stream "^3.4.0"
-create-torrent@^5.0.6:
+create-torrent@^5.0.4:
version "5.0.6"
resolved "https://registry.yarnpkg.com/create-torrent/-/create-torrent-5.0.6.tgz#cd39772938858d2b9bb61061439af32046e81ab8"
integrity sha512-T3C23ZXdgzp6GrmbR3eJ9WSzmsR2ORvsTkr2Md32zmkYyzPmZyK+BayzaZt4kAahCKaLxvpMsvtITP0/WH1Z9g==
@@ -7901,6 +7901,14 @@ multicast-dns@^7.2.5:
dns-packet "^5.2.2"
thunky "^1.0.2"
+multistream@^4.1.0:
+ version "4.1.0"
+ resolved "https://registry.yarnpkg.com/multistream/-/multistream-4.1.0.tgz#7bf00dfd119556fbc153cff3de4c6d477909f5a8"
+ integrity sha512-J1XDiAmmNpRCBfIWJv+n0ymC4ABcf/Pl+5YvC5B/D2f/2+8PtHvCNxMPKiQcZyi922Hq69J2YOpb1pTywfifyw==
+ dependencies:
+ once "^1.4.0"
+ readable-stream "^3.6.0"
+
version "0.0.8"
resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d"
@@ -10393,7 +10401,7 @@ stream-to-blob-url@^3.0.2:
dependencies:
stream-to-blob "^2.0.0"
-stream-to-blob@^2.0.0:
+stream-to-blob@^2.0.0, stream-to-blob@^2.0.1:
version "2.0.1"
resolved "https://registry.yarnpkg.com/stream-to-blob/-/stream-to-blob-2.0.1.tgz#59ab71d7a7f0bfb899570e886e44d39f4ac4381a"
integrity sha512-GXlqXt3svqwIVWoICenix5Poxi4KbCF0BdXXUbpU1X4vq1V8wmjiEIU3aFJzCGNFpKxfbnG0uoowS3nKUgSPYg==
@@ -11525,10 +11533,10 @@ websocket-extensions@>=0.1.1:
resolved "https://registry.yarnpkg.com/websocket-extensions/-/websocket-extensions-0.1.4.tgz#7f8473bc839dfd87608adb95d7eb075211578a42"
integrity sha512-OqedPIGOfsDlo31UNwYbCFMSaO9m9G/0faIHj5/dZFDMFqPTcx6UwqyOy3COEaEOg/9VsGIpdqn62W5KhoKSpg==
-webtorrent@^1.8.22:
- version "1.8.29"
- resolved "https://registry.yarnpkg.com/webtorrent/-/webtorrent-1.8.29.tgz#5746a023e5919ee007f310228bdb3a34edf10572"
- integrity sha512-8GLGbDj8Hv3llo0l70jVkgAfvn5hmifU7opnaUVjTcPVA3N96WcpzqGI6j2CRzGGPtshbcypZniiDdENdD9LsQ==
+ version "1.8.26"
+ resolved "https://registry.yarnpkg.com/webtorrent/-/webtorrent-1.8.26.tgz#c40313f3329d2bdfe8ae23365c17dd77825a829d"
+ integrity sha512-1bbCIDtbk4OA7xXmT87t6jDhnng6RNC9d7HNpRyvxF0GQTrIz1fB3oDnNcbOim9Upjy1GDqxAOe0Mejmc86TUg==
dependencies:
"@webtorrent/http-node" "^1.3.0"
addr-to-ip-port "^1.5.4"
@@ -11539,18 +11547,17 @@ webtorrent@^1.8.22:
chrome-net "^3.3.4"
chunk-store-stream "^4.3.0"
cpus "^1.0.3"
- create-torrent "^5.0.6"
+ create-torrent "^5.0.4"
debug "^4.3.4"
end-of-stream "^1.4.4"
escape-html "^1.0.3"
- fast-blob-stream "^1.1.1"
fs-chunk-store "^2.0.5"
immediate-chunk-store "^2.2.0"
- join-async-iterator "^1.1.1"
load-ip-set "^2.2.1"
lt_donthave "^1.0.1"
memory-chunk-store "^1.3.5"
mime "^3.0.0"
+ multistream "^4.1.0"
package-json-versionify "^1.0.4"
parse-torrent "^9.1.5"
pump "^3.0.0"
@@ -11566,8 +11573,9 @@ webtorrent@^1.8.22:
simple-peer "^9.11.1"
simple-sha1 "^3.1.0"
speed-limiter "^1.0.2"
+ stream-to-blob "^2.0.1"
+ stream-to-blob-url "^3.0.2"
stream-with-known-length-to-buffer "^1.0.4"
- streamx "^2.12.4"
throughput "^1.0.1"
torrent-discovery "^9.4.13"
torrent-piece "^2.0.1"