# AdvanceOptions (/zh-CN/api-reference/rtc/unity/class-advanceoptions) > For AI agents: see the complete documentation index at [llms.txt](/llms.txt). ```csharp public class AdvanceOptions { public ENCODING_PREFERENCE encodingPreference; public COMPRESSION_PREFERENCE compressionPreference; public bool encodeAlpha; public AdvanceOptions() { this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; this.encodeAlpha = false; } public AdvanceOptions(ENCODING_PREFERENCE encoding_preference, COMPRESSION_PREFERENCE compression_preference, bool encode_alpha) { this.encodingPreference = encoding_preference; this.compressionPreference = compression_preference; this.encodeAlpha = encode_alpha; } } ``` ## 属性 [#属性] 视频编码器偏好。详见 [ENCODING_PREFERENCE](/zh-CN/api-reference/rtc/unity/enum-encodingpreference)。 视频编码的压缩偏好。详见 [COMPRESSION_PREFERENCE](/zh-CN/api-reference/rtc/unity/enum-compressionpreference)。 当视频帧包含 Alpha 通道数据时,设置是否将 Alpha 数据编码并发送至远端: - true:对 Alpha 数据进行编码发送。 - false:(默认)不对 Alpha 数据进行编码发送。