mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Drop progressive transcoding in web client
Signed-off-by: nyanmisaka <nst799610810@gmail.com>
This commit is contained in:
parent
18cd64ca0b
commit
eb15f97955
1 changed files with 0 additions and 46 deletions
|
@ -686,30 +686,6 @@ export default function (options) {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
if (canPlayMkv && !browser.tizen && options.enableMkvProgressive !== false) {
|
|
||||||
profile.TranscodingProfiles.push({
|
|
||||||
Container: 'mkv',
|
|
||||||
Type: 'Video',
|
|
||||||
AudioCodec: videoAudioCodecs.join(','),
|
|
||||||
VideoCodec: mp4VideoCodecs.join(','),
|
|
||||||
Context: 'Streaming',
|
|
||||||
MaxAudioChannels: physicalAudioChannels.toString(),
|
|
||||||
CopyTimestamps: true
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (canPlayMkv) {
|
|
||||||
profile.TranscodingProfiles.push({
|
|
||||||
Container: 'mkv',
|
|
||||||
Type: 'Video',
|
|
||||||
AudioCodec: videoAudioCodecs.join(','),
|
|
||||||
VideoCodec: mp4VideoCodecs.join(','),
|
|
||||||
Context: 'Static',
|
|
||||||
MaxAudioChannels: physicalAudioChannels.toString(),
|
|
||||||
CopyTimestamps: true
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
if (canPlayHls() && options.enableHls !== false) {
|
if (canPlayHls() && options.enableHls !== false) {
|
||||||
if (hlsInFmp4VideoCodecs.length && hlsInFmp4VideoAudioCodecs.length && userSettings.preferFmp4HlsContainer() && (browser.safari || browser.tizen || browser.web0s)) {
|
if (hlsInFmp4VideoCodecs.length && hlsInFmp4VideoAudioCodecs.length && userSettings.preferFmp4HlsContainer() && (browser.safari || browser.tizen || browser.web0s)) {
|
||||||
profile.TranscodingProfiles.push({
|
profile.TranscodingProfiles.push({
|
||||||
|
@ -740,28 +716,6 @@ export default function (options) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Progressive mp4 transcoding
|
|
||||||
if (mp4VideoCodecs.length && videoAudioCodecs.length) {
|
|
||||||
profile.TranscodingProfiles.push({
|
|
||||||
Container: 'mp4',
|
|
||||||
Type: 'Video',
|
|
||||||
AudioCodec: videoAudioCodecs.join(','),
|
|
||||||
VideoCodec: mp4VideoCodecs.join(','),
|
|
||||||
Context: 'Streaming',
|
|
||||||
Protocol: 'http',
|
|
||||||
MaxAudioChannels: physicalAudioChannels.toString()
|
|
||||||
});
|
|
||||||
}
|
|
||||||
|
|
||||||
profile.TranscodingProfiles.push({
|
|
||||||
Container: 'mp4',
|
|
||||||
Type: 'Video',
|
|
||||||
AudioCodec: videoAudioCodecs.join(','),
|
|
||||||
VideoCodec: 'h264',
|
|
||||||
Context: 'Static',
|
|
||||||
Protocol: 'http'
|
|
||||||
});
|
|
||||||
|
|
||||||
profile.ContainerProfiles = [];
|
profile.ContainerProfiles = [];
|
||||||
|
|
||||||
profile.CodecProfiles = [];
|
profile.CodecProfiles = [];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue