AdvanceOptions
Advanced options for video encoding.
static public class AdvanceOptions {
public ENCODING_PREFERENCE encodingPreference;
public COMPRESSION_PREFERENCE compressionPreference;
public boolean encodeAlpha;
public AdvanceOptions(ENCODING_PREFERENCE encodingPreference,
COMPRESSION_PREFERENCE compressionPreference, boolean encodeAlpha) {
this.encodingPreference = encodingPreference;
this.compressionPreference = compressionPreference;
this.encodeAlpha = encodeAlpha;
}
public AdvanceOptions() {
this.encodingPreference = ENCODING_PREFERENCE.PREFER_AUTO;
this.compressionPreference = COMPRESSION_PREFERENCE.PREFER_LOW_LATENCY;
this.encodeAlpha = false;
}
}
- Since
- v4.1.0
Attributes
- encodingPreference
- Video encoder preference. See ENCODING_PREFERENCE.
- compressionPreference
- Compression preference for video encoding. See COMPRESSION_PREFERENCE.
- 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.