longli Posted August 11, 2020 Share Posted August 11, 2020 Hi developer, In my android tv device, Screen Resolution is displayed as 1920 x 1080. In fact, our screen resolution is 4K, but the OSD is displayed by 1080P, playing video can reach 4K resolution. You may get the resolution by DisplayMetrics, but this method has some limitations. You can refer to Google's solution(get the real resolution by read sys.display-size/vendor.display-size): Link is :https://github.com/google/ExoPlayer/blob/release-v2/library/core/src/main/java/com/google/android/exoplayer2/util/Util.java#L1836 For reference only, thank you! Quote Link to comment Share on other sites More sharing options...
Fiery Posted August 13, 2020 Share Posted August 13, 2020 On 8/11/2020 at 1:52 PM, longli said: Hi developer, In my android tv device, Screen Resolution is displayed as 1920 x 1080. In fact, our screen resolution is 4K, but the OSD is displayed by 1080P, playing video can reach 4K resolution. You may get the resolution by DisplayMetrics, but this method has some limitations. You can refer to Google's solution(get the real resolution by read sys.display-size/vendor.display-size): Link is :https://github.com/google/ExoPlayer/blob/release-v2/library/core/src/main/java/com/google/android/exoplayer2/util/Util.java#L1836 For reference only, thank you! Thank you, we'll implement those tricks in the next AIDA64 app update. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.