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
readwritenonatomicassign

Video frame size. Default is 0.

◆ framerate

- (int) framerate
readwritenonatomicassign

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

◆ enable

- (BOOL) enable
readwritenonatomicassign

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.