---
title: Changing resolution
slug: changing-resolution
createdAt: 2021-10-12T15:31:11.000Z
---

The API enables to switch between the following resolutions:

```kotlin
            CameraResolution.HD //3840*1080
            CameraResolution.MD //2560*720
            CameraResolution.SD //1280*480
```



In order to change resolution call the following function:

```kotlin
arxApi.setCameraResolution(CameraResolution.HD)
```

Support for 4416 x 1242 coming soon.

:::hint{type="danger"}
Note that while images are directly encoded on the ARxWear headset, performances in framerates may vary depending on which Android device is used. Generally, it is observed that framerates may be limited by the USB bus present on the USB device.&#x20;



While some Android devices feature a USB-C interface, the manufacturer may have limited the power on the USB bus resulting in low transfer speeds.



With standard USB-C expect the following performances (Observed on Samsung S9 and higher):

- 4416 x 1242 (2 x 2208 x 1242) @ 15 fps
- 3840 x 1080 (2 x 1920 x 1080) @ 30 fps
- 2560 x 720 (2 x 1280 x 720) @ 60 fps&#x20;
- 1344 x 376 (2 x 672 x 376) @ 100 fps



With lower USB speeds expect the following performances (Observed on Google Pixel 3a, 4a):

- 3840 x 1080 (2 x 1920 x 1080) @ 2 fps
- 2560 x 720 (2 x 1280 x 720) @ 5 fps&#x20;
- 1344 x 376 (2 x 672 x 376) @ 12 fps
:::

