Agora RTC Objective-C API Reference  Refactor
Properties
AgoraStreamLayerConfig Class Reference

Inherits <NSObject>.

Properties

CGSize dimensions
 
int framerate
 
BOOL enable
 

Detailed Description

The configuration of a specific layer in the multi-layer video stream.

Since
v4.6.0

Property Documentation

◆ dimensions

- (CGSize) dimensions
readwritenonatomicassign

The video frame dimension. The default value is 0.

◆ framerate

- (int) framerate
readwritenonatomicassign

The capture frame rate (fps) of the local video. The default value is 0.

◆ enable

- (BOOL) enable
readwritenonatomicassign

Whether to enable the corresponding layer of video stream. The default value is false.

  • true: Enable the corresponding layer of video stream
  • false: (Default) Disable the corresponding layer of video stream