Agora Java API Reference for Android
Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.VideoEncoderConfiguration.AdvanceOptions Class Reference

Advanced options for video encoding. More...

Public Member Functions

 AdvanceOptions (ENCODING_PREFERENCE encodingPreference, COMPRESSION_PREFERENCE compressionPreference, boolean encodeAlpha)
 

Public Attributes

ENCODING_PREFERENCE encodingPreference
 
COMPRESSION_PREFERENCE compressionPreference
 
boolean encodeAlpha
 

Detailed Description

Advanced options for video encoding.

Member Data Documentation

◆ encodingPreference

ENCODING_PREFERENCE io.agora.rtc2.video.VideoEncoderConfiguration.AdvanceOptions.encodingPreference

Video encoder preference. See ENCODING_PREFERENCE.

◆ compressionPreference

COMPRESSION_PREFERENCE io.agora.rtc2.video.VideoEncoderConfiguration.AdvanceOptions.compressionPreference

Compression preference for video encoding. See COMPRESSION_PREFERENCE.

◆ encodeAlpha

boolean io.agora.rtc2.video.VideoEncoderConfiguration.AdvanceOptions.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.