Agora RTC Objective-C API Reference Refactor

Properties
AgoraEncodedVideoTrackOptions Class Reference

Inherits <NSObject>.

## Properties
int | ccMode
int | codecType
int | targetBitrate

## Detailed Description

The video encoded track options.

## Property Documentation

## ◆ ccMode

- (int) ccMode
| read write nonatomic assign

Whether to enable CC mode.

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

## ◆ codecType

- (int) codecType
| read write nonatomic assign

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_JPEG = 20: GENERIC_JPEG.

## ◆ targetBitrate

- (int) targetBitrate
| read write nonatomic assign

Target bitrate (Kbps) for sending encoded video frame.