Agora C++ API Reference for All Platforms

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

## Public Member Functions
| AdvanceOptions ()
| 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

The definition of the AdvanceOptions struct.

## Constructor & Destructor Documentation

## ◆ AdvanceOptions() [1/2]

agora::rtc::AdvanceOptions::AdvanceOptions | ( |  | ) |
| inline

## ◆ AdvanceOptions() [2/2]

agora::rtc::AdvanceOptions::AdvanceOptions | ( | ENCODING_PREFERENCE | encoding_preference,
|  | COMPRESSION_PREFERENCE | compression_preference,
|  | bool | encode_alpha
| ) |  |
| inline

## Member Function Documentation

## ◆ operator==()

bool agora::rtc::AdvanceOptions::operator== | ( | const AdvanceOptions & | rhs | ) | const
| inline

## Member Data Documentation

## ◆ encodingPreference

ENCODING_PREFERENCE agora::rtc::AdvanceOptions::encodingPreference

The video encoder type preference..

## ◆ compressionPreference

COMPRESSION_PREFERENCE agora::rtc::AdvanceOptions::compressionPreference

Video compression preference.

## ◆ encodeAlpha

bool agora::rtc::AdvanceOptions::encodeAlpha

Whether to encode and send the alpha data to the remote when alpha data is present. The default value is false.