From be34d401bb8c4a371f842f62fb177e5f08699bcd Mon Sep 17 00:00:00 2001 From: Paul Berberian Date: Wed, 18 Dec 2024 15:25:49 +0100 Subject: [PATCH] Fix decipherability freeze condition --- src/core/main/common/FreezeResolver.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/main/common/FreezeResolver.ts b/src/core/main/common/FreezeResolver.ts index eeee040b0e..02448dc098 100644 --- a/src/core/main/common/FreezeResolver.ts +++ b/src/core/main/common/FreezeResolver.ts @@ -296,7 +296,8 @@ export default class FreezeResolver { const hasDecipherabilityFreezePotential = (rebufferingForTooLong || frozenForTooLong) && - ((bufferGap < 6 && !fullyLoaded) || readyState > 1); + (bufferGap >= 6 || fullyLoaded) && + readyState <= 1; if (!hasDecipherabilityFreezePotential) { this._decipherabilityFreezeStartingTimestamp = null;