AdvanceOptions

Used to configure advanced options for video encoding.

struct AdvanceOptions {
  ENCODING_PREFERENCE encodingPreference;
  COMPRESSION_PREFERENCE compressionPreference;
  bool encodeAlpha;
  bool operator==(const AdvanceOptions& rhs) const {
    return encodingPreference == rhs.encodingPreference && 
           compressionPreference == rhs.compressionPreference &&
           encodeAlpha == rhs.encodeAlpha;
  }
};

Properties

encodingPreference
Video encoder preference setting. See ENCODING_PREFERENCE.
compressionPreference
Compression preference setting for video encoding. See COMPRESSION_PREFERENCE.
encodeAlpha
Whether to encode and send Alpha data in the video frame:
  • true: Encode and send Alpha data.
  • false: (default) Do not encode or send Alpha data.