From 6feb46fecbe78d9cb23a9252f0b740982690dd6f Mon Sep 17 00:00:00 2001 From: gnattu Date: Tue, 28 May 2024 20:27:11 +0800 Subject: [PATCH] Don't check specific reason Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com> --- src/components/playback/playbackmanager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/playback/playbackmanager.js b/src/components/playback/playbackmanager.js index 666034e6fd..a8f009ed72 100644 --- a/src/components/playback/playbackmanager.js +++ b/src/components/playback/playbackmanager.js @@ -3296,7 +3296,7 @@ class PlaybackManager { const streamInfo = error.streamInfo || getPlayerData(player).streamInfo; if (streamInfo?.url) { - const isAlreadyFallbacking = streamInfo.url.toLowerCase().includes('transcodereasons=directplayerror'); + const isAlreadyFallbacking = streamInfo.url.toLowerCase().includes('transcodereasons'); const currentlyPreventsVideoStreamCopy = streamInfo.url.toLowerCase().indexOf('allowvideostreamcopy=false') !== -1; const currentlyPreventsAudioStreamCopy = streamInfo.url.toLowerCase().indexOf('allowaudiostreamcopy=false') !== -1;