AdvanceOptions
视频编码的高级选项。
Java
static public class AdvanceOptions {
public ENCODING_PREFERENCE encodingPreference;
public COMPRESSION_PREFERENCE compressionPreference;
public AdvanceOptions(
ENCODING_PREFERENCE encodingPreference, COMPRESSION_PREFERENCE compressionPreference) {
this.encodingPreference = encodingPreference;
this.compressionPreference = compressionPreference;
}
public AdvanceOptions() {
this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO;
this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY;
}
}
自从
v4.1.0
encodingPreference
视频编码器偏好。详见 ENCODING_PREFERENCE
。
compressionPreference
视频编码的压缩偏好。详见 COMPRESSION_PREFERENCE
。