mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Support H264 Level 52 (Tizen 5.0) - app only
This commit is contained in:
parent
13bf66de54
commit
3f11095fec
1 changed files with 8 additions and 7 deletions
|
@ -433,14 +433,10 @@ define(['browser'], function (browser) {
|
|||
|
||||
var supportsDts = browser.tizen || browser.orsay || browser.web0s || options.supportsDts;
|
||||
|
||||
if (self.tizen && self.tizen.systeminfo) {
|
||||
var v = tizen.systeminfo.getCapability('http://tizen.org/feature/platform.version');
|
||||
|
||||
// DTS audio not supported in 2018 models (Tizen 4.0)
|
||||
if (v && parseFloat(v) >= parseFloat('4.0')) {
|
||||
if (browser.tizenVersion >= 4) {
|
||||
supportsDts = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (supportsDts) {
|
||||
videoAudioCodecs.push('dca');
|
||||
|
@ -766,6 +762,11 @@ define(['browser'], function (browser) {
|
|||
maxH264Level = 51;
|
||||
}
|
||||
|
||||
// Support H264 Level 52 (Tizen 5.0) - app only
|
||||
if (browser.tizenVersion >= 5 && window.NativeShell) {
|
||||
maxH264Level = 52;
|
||||
}
|
||||
|
||||
if (browser.tizen || browser.orsay ||
|
||||
videoTestElement.canPlayType('video/mp4; codecs="avc1.6e0033"').replace(/no/, '')) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue