Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION_PREFERENCE Enum Reference

## Public Member Functions
int | getValue ()

## Public Attributes
| PREFER_LOW_LATENCY =(0)
| PREFER_QUALITY =(1)

## Detailed Description

Video COMPRESSION PREFERENCE.

## Member Data Documentation

## ◆ PREFER_LOW_LATENCY

io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY =(0)

Prefer low latency, it is default behavior, normally in real-time communication, latency is the first priority.

## ◆ PREFER_QUALITY

io.agora.rtc2.video.VideoEncoderConfiguration.COMPRESSION_PREFERENCE.PREFER_QUALITY =(1)

Prefer quality in sacrifice of a degree of latency, usually around 30ms ~ 150ms, depends target fps