ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix segment validator
Chocobozzz451db20bf32e
diff --git a/client/src/standalone/player/src/shared/p2p-media-loader/segment-validator.ts b/client/src/standalone/player/src/shared/p2p-media-loader/segment-validator.tsindex 7b6e81910b..9a266a1572 100644--- a/client/src/standalone/player/src/shared/p2p-media-loader/segment-validator.ts+++ b/client/src/standalone/player/src/shared/p2p-media-loader/segment-validator.ts@@ -76,8 +76,10 @@ export class SegmentValidator {`Hashes does not correspond for segment ${filename}/${range} (expected: ${hashShouldBe} instead of ${calculatedSha})`)- return true+ return false}++ return true}destroy () {