1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge branch 'fork/relax-remux-requirement-for-remote'

This commit is contained in:
gnattu 2024-05-29 00:20:49 +08:00
commit a35c81a0eb

View file

@ -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;