mirror of
https://github.com/jellyfin/jellyfin-chromecast.git
synced 2024-11-23 22:19:46 +00:00
update profile
This commit is contained in:
parent
6b8605cad6
commit
21b96f1386
@ -144,17 +144,21 @@ define(['browser'], function (browser) {
|
||||
|
||||
function getMaxBitrate() {
|
||||
|
||||
var userAgent = navigator.userAgent.toLowerCase();
|
||||
try {
|
||||
var userAgent = navigator.userAgent.toLowerCase();
|
||||
|
||||
if (browser.tizen) {
|
||||
if (browser.tizen) {
|
||||
|
||||
// 2015 models
|
||||
if (userAgent.indexOf('tizen 2.3') != -1) {
|
||||
return 20000000;
|
||||
// 2015 models
|
||||
if (userAgent.indexOf('tizen 2.3') != -1) {
|
||||
return 20000000;
|
||||
}
|
||||
|
||||
// 2016 models
|
||||
return 40000000;
|
||||
}
|
||||
|
||||
// 2016 models
|
||||
return 40000000;
|
||||
} catch (err) {
|
||||
|
||||
}
|
||||
|
||||
return 100000000;
|
||||
|
Loading…
Reference in New Issue
Block a user