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
| readwritenonatomicassign

Whether to enable CC mode.

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

## ◆ codecType

- (int) codecType
| readwritenonatomicassign

The codec type used for the encoded images.

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

## ◆ targetBitrate

- (int) targetBitrate
| readwritenonatomicassign

Target bitrate (Kbps) for sending encoded video frame.