Server Gateway SDK v3.7.200.21 for Linux Java
Public Member Functions | List of all members
io.agora.rtc.SenderOptions Class Reference

Public Member Functions

 SenderOptions ()
 
 SenderOptions (int ccMode, int codecType, int targetBitrate)
 
int getCcMode ()
 
void setCcMode (int ccMode)
 
int getCodecType ()
 
void setCodecType (int codecType)
 
int getTargetBitrate ()
 
void setTargetBitrate (int targetBitrate)
 

Detailed Description

The configuration for creating a local video track with an encoded image sender.

Constructor & Destructor Documentation

◆ SenderOptions() [1/2]

io.agora.rtc.SenderOptions.SenderOptions ( )

◆ SenderOptions() [2/2]

io.agora.rtc.SenderOptions.SenderOptions ( int  ccMode,
int  codecType,
int  targetBitrate 
)

Constructor.

Parameters
ccModeWhether to enable CC mode.
  • 0: Enable CC mode.
  • 1: Disable CC mode.
codecTypeThe codec type used for the encoded images.
  • 0: None.
  • 1: VP8.
  • 2: H.264.
  • 3: H.265.
  • 5: VP9.
  • 6: Generic.
  • 7: Generic H264.
  • 12: AV1.
  • 20: JPEG.
targetBitrateTarget bitrate (Kbps) for video encoding.

Member Function Documentation

◆ getCcMode()

int io.agora.rtc.SenderOptions.getCcMode ( )

◆ getCodecType()

int io.agora.rtc.SenderOptions.getCodecType ( )

◆ getTargetBitrate()

int io.agora.rtc.SenderOptions.getTargetBitrate ( )

◆ setCcMode()

void io.agora.rtc.SenderOptions.setCcMode ( int  ccMode)

◆ setCodecType()

void io.agora.rtc.SenderOptions.setCodecType ( int  codecType)

◆ setTargetBitrate()

void io.agora.rtc.SenderOptions.setTargetBitrate ( int  targetBitrate)

The documentation for this class was generated from the following file: