mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Update browserdeviceprofile.js
This commit is contained in:
parent
cb04a5aa91
commit
c60eff507b
@ -749,7 +749,7 @@ define(['browser'], function (browser) {
|
||||
});
|
||||
}
|
||||
|
||||
var maxH264Level = browser.chromecast ? 42 : 51;
|
||||
var maxH264Level = 42;
|
||||
var h264Profiles = 'high|main|baseline|constrained baseline';
|
||||
|
||||
if (browser.tizen || browser.orsay || browser.web0s ||
|
||||
@ -757,14 +757,6 @@ define(['browser'], function (browser) {
|
||||
maxH264Level = 51;
|
||||
}
|
||||
|
||||
var userAgent = navigator.userAgent.toLowerCase();
|
||||
if (browser.chromecast) {
|
||||
var isChromecastUltra = userAgent.indexOf('aarch64') !== -1;
|
||||
if (isChromecastUltra) {
|
||||
maxH264Level = 51;
|
||||
}
|
||||
}
|
||||
|
||||
if (browser.tizen || browser.orsay ||
|
||||
videoTestElement.canPlayType('video/mp4; codecs="avc1.6e0033"').replace(/no/, '')) {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user