We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09bf1cf commit ee1926eCopy full SHA for ee1926e
lib/util/platform.js
@@ -756,8 +756,11 @@ shaka.util.Platform = class {
756
// Now ignore the error and let the 720p default stand.
757
}
758
} else if (Platform.isTizen()) {
759
- maxResolution.width = 1920;
760
- maxResolution.height = 1080;
+ const devicePixelRatio = window.devicePixelRatio;
+ maxResolution.width = window.screen.width * devicePixelRatio > 1920 ?
761
+ 3840 : 1920;
762
+ maxResolution.height = window.screen.height * devicePixelRatio > 1080 ?
763
+ 2160 : 1080;
764
try {
765
if (webapis.systeminfo && webapis.systeminfo.getMaxVideoResolution) {
766
const maxVideoResolution =
0 commit comments