AdvanceOptions
视频编码的高级选项。
public class AdvanceOptions { public ENCODING_PREFERENCE encodingPreference { set; get; } public COMPRESSION_PREFERENCE compressionPreference { set; get; } public AdvanceOptions() { encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO; compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY; } public AdvanceOptions(ENCODING_PREFERENCE encoding_preference, COMPRESSION_PREFERENCE compression_preference) { encodingPreference = encoding_preference; compressionPreference = compression_preference; } }
属性
- encodingPreference
- 视频编码器偏好。详见 ENCODING_PREFERENCE。
- compressionPreference
- 视频编码的压缩偏好。详见 COMPRESSION_PREFERENCE。