Agora RTC Objective-C API Reference  Refactor
Data Fields
SimulcastConfig::StreamLayerConfig Struct Reference

Data Fields

VideoDimensions dimensions
 
int framerate
 
bool enable
 

Detailed Description

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

Constructor & Destructor Documentation

◆ StreamLayerConfig()

StreamLayerConfig ( )
inline

Field Documentation

◆ dimensions

VideoDimensions dimensions

Video frame size. Default is 0. See VideoDimensions.

◆ framerate

int framerate

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

◆ enable

bool enable

Whether to enable the video stream for the corresponding layer. Default is false.

  • true: Enables the video stream for the corresponding layer.
  • false: (Default) Disables the video stream for the corresponding layer.