mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
6fb6168107
commit
dc02d75161
2 changed files with 12 additions and 7 deletions
|
@ -370,6 +370,16 @@ define(['browser'], function (browser) {
|
|||
|
||||
profile.TranscodingProfiles = [];
|
||||
|
||||
if (canPlayNativeHls() && options.enableHlsAudio) {
|
||||
profile.TranscodingProfiles.push({
|
||||
Container: 'ts',
|
||||
Type: 'Audio',
|
||||
AudioCodec: 'aac',
|
||||
Context: 'Streaming',
|
||||
Protocol: 'hls'
|
||||
});
|
||||
}
|
||||
|
||||
['opus', 'mp3', 'aac', 'wav'].filter(canPlayAudioFormat).forEach(function (audioFormat) {
|
||||
|
||||
profile.TranscodingProfiles.push({
|
||||
|
@ -390,11 +400,6 @@ define(['browser'], function (browser) {
|
|||
});
|
||||
});
|
||||
|
||||
var copyTimestamps = false;
|
||||
if (browser.chrome) {
|
||||
copyTimestamps = true;
|
||||
}
|
||||
|
||||
// Can't use mkv on mobile because we have to use the native player controls and they won't be able to seek it
|
||||
if (canPlayMkv && !browser.tizen && options.enableMkvProgressive !== false) {
|
||||
profile.TranscodingProfiles.push({
|
||||
|
@ -404,7 +409,7 @@ define(['browser'], function (browser) {
|
|||
VideoCodec: 'h264',
|
||||
Context: 'Streaming',
|
||||
MaxAudioChannels: physicalAudioChannels.toString(),
|
||||
CopyTimestamps: copyTimestamps
|
||||
CopyTimestamps: true
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue