Agora RTC Objective-C API Reference Refactor

Data Fields
AdvanceOptions Struct Reference

## Data Fields
ENCODING_PREFERENCE | encodingPreference
COMPRESSION_PREFERENCE | compressionPreference
bool | encodeAlpha

## Constructor & Destructor Documentation

## ◆ AdvanceOptions() [1/2]

AdvanceOptions | ( |  | ) |
| inline

## ◆ AdvanceOptions() [2/2]

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

## Member Function Documentation

## ◆ operator==()

bool operator== | ( | const AdvanceOptions & | rhs | ) | const
| inline

## Field Documentation

## ◆ encodingPreference

ENCODING_PREFERENCE encodingPreference

Video encoder preference. See `ENCODING_PREFERENCE`.

## ◆ compressionPreference

COMPRESSION_PREFERENCE compressionPreference

Compression preference for video encoding. See `COMPRESSION_PREFERENCE`.

## ◆ encodeAlpha

bool 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.