Skip to content
This repository has been archived by the owner on Jul 19, 2022. It is now read-only.

Latest commit

 

History

History
31 lines (19 loc) · 1.3 KB

display-resolution.md

File metadata and controls

31 lines (19 loc) · 1.3 KB
layout title sidebar
default
CatVision documentation
catvision

CatVision.io Display Resolution

CatVision.io tries to automatically choose optimal screen resolution of a remote display in order to provide optimal experience and also save network bandwidth which is also very important for a fluent experience of the remote operator.

The image of a captured screen is typically downscaled by 2x or 4x because modern smartphones are using subpixel resolutions with very high DPIs. However, CatVision.io SDK can be configured to use other downscale value, including 1 or even <1. It is highly recommended for performance reasons to choose integer values of downscale factor.

Android

CatVision.io for Android uses DisplayMetrics.densityDpi to determine a downscale factor of the remote display.

The screen density (densityDpi) Downscale factor
< 280 1x
< 400 2x
≥ 400 3x

Read more about Android DPI ranges.

iOS

CatVision.io for iOS uses UIScreen scale property directly as a downscale factor.