Agora RTC Objective-C API Reference Refactor

Properties
AgoraStreamLayerConfig Class Reference

Inherits <NSObject>.

## Properties
CGSize | dimensions
int | framerate
BOOL | enable

## Detailed Description

Since
  v4.6.0

Used to configure the resolution, frame rate, and enable status of a specific layer in multi-quality video streams.

## Property Documentation

## ◆ dimensions

- (CGSize) dimensions
| read write nonatomic assign

Video frame size. Default is 0.

## ◆ framerate

- (int) framerate
| read write nonatomic assign

Frame rate (fps) of the local video capture. Default is 0.

## ◆ enable

- (BOOL) enable
| read write nonatomic assign

Whether to enable the video stream for the corresponding layer.

- `YES`: Enables the video stream for the corresponding layer.
- `NO`: (Default) Disables the video stream for the corresponding layer.