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

Show Remux as a Playback Method

This commit is contained in:
artiume 2020-11-15 19:09:55 -05:00 committed by GitHub
parent 79b49d817d
commit 6f32e9468f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,9 @@ export function getDisplayPlayMethod(session) {
return null; return null;
} }
if (session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect) { if (session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect && session.TranscodingInfo.IsAudioDirect) {
return 'Remux';
} else if (session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect) {
return 'DirectStream'; return 'DirectStream';
} else if (session.PlayState.PlayMethod === 'Transcode') { } else if (session.PlayState.PlayMethod === 'Transcode') {
return 'Transcode'; return 'Transcode';