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

Try EnableDirectStream when possible

Co-authored-by: Dmitry Lyzo <56478732+dmitrylyzo@users.noreply.github.com>
This commit is contained in:
gnattu 2024-05-30 00:12:00 +08:00 committed by GitHub
parent a35c81a0eb
commit a67fd2e5ac
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -3309,7 +3309,7 @@ class PlaybackManager {
changeStream(player, startTime, { changeStream(player, startTime, {
EnableDirectPlay: false, EnableDirectPlay: false,
EnableDirectStream: false, EnableDirectStream: tryVideoStreamCopy,
AllowVideoStreamCopy: tryVideoStreamCopy, AllowVideoStreamCopy: tryVideoStreamCopy,
AllowAudioStreamCopy: currentlyPreventsAudioStreamCopy || currentlyPreventsVideoStreamCopy ? false : null AllowAudioStreamCopy: currentlyPreventsAudioStreamCopy || currentlyPreventsVideoStreamCopy ? false : null
}); });