Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
agora::rtc::AdvanceOptions Struct Reference

Advanced options for video encoding. More...

`#include <AgoraBase.h>`

## Public Member Functions
| AdvanceOptions (ENCODING_PREFERENCE encoding_preference, COMPRESSION_PREFERENCE compression_preference, bool encode_alpha)
bool | operator== (const AdvanceOptions &rhs) const

## Public Attributes
ENCODING_PREFERENCE | encodingPreference
COMPRESSION_PREFERENCE | compressionPreference
bool | encodeAlpha

## Detailed Description

Advanced options for video encoding.

## Member Data Documentation

## ◆ encodingPreference

ENCODING_PREFERENCE agora::rtc::AdvanceOptions::encodingPreference

Video encoder preference. See `ENCODING_PREFERENCE`.

## ◆ compressionPreference

COMPRESSION_PREFERENCE agora::rtc::AdvanceOptions::compressionPreference

Compression preference for video encoding. See `COMPRESSION_PREFERENCE`.

## ◆ encodeAlpha

bool agora::rtc::AdvanceOptions::encodeAlpha

Whether to encode and send the Alpha data present in the video frame to the remote end:

- `true`: Encode and send Alpha data.
- `false`: (Default) Do not encode and send Alpha data.