Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::AdvanceOptions Struct Reference

`#include <AgoraBase.h>`

## 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

## 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

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.