Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.EncodedVideoTrackOptions Class Reference

## Public Member Functions
int | getCcMode ()
int | getCodecType ()
int | getTargetBitrate ()

## Public Attributes
int | ccMode
int | codecType
int | targetBitrate

## Detailed Description

The channel media options.

## Member Data Documentation

## ◆ ccMode

int io.agora.rtc2.EncodedVideoTrackOptions.ccMode

Whether to enable CC mode.

- TCC_ENABLED = 0: (Default) enable cc.
- TCC_DISABLED = 1: disable cc.

## ◆ codecType

int io.agora.rtc2.EncodedVideoTrackOptions.codecType

The codec type used for the encoded images.

- VIDEO_CODEC_VP8 = 1: VP8.
- VIDEO_CODEC_H264 = 2: H.264.
- VIDEO_CODEC_H265 = 3: (Default)H.265.
- VIDEO_CODEC_VP9 = 13: VP9.
- VIDEO_CODEC_GENERIC = 6: GENERIC.
- VIDEO_CODEC_GENERIC_H264 = 7: GENERIC_H264.
- VIDEO_CODEC_GENERIC_JPEG = 20: GENERIC_JPEG.

## ◆ targetBitrate

int io.agora.rtc2.EncodedVideoTrackOptions.targetBitrate

Target bitrate (Kbps) for sending encoded video frame.