AdvanceOptions
Advanced options for video encoding.
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; } }
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.