Agora Java API Reference for Android

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

## Public Member Functions
int | getValue ()

## Public Attributes
| PREFER_AUTO =(-1)
| PREFER_SOFTWARE =(0)
| PREFER_HARDWARE =(1)

## Detailed Description

The Video encoder type preference.

## Member Data Documentation

## ◆ PREFER_AUTO

io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING_PREFERENCE.PREFER_AUTO =(-1)

Default hardware encoding.

## ◆ PREFER_SOFTWARE

io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING_PREFERENCE.PREFER_SOFTWARE =(0)

Software encoding.

## ◆ PREFER_HARDWARE

io.agora.rtc2.video.VideoEncoderConfiguration.ENCODING_PREFERENCE.PREFER_HARDWARE =(1)

Hardware encoding