Agora C++ API Reference for All Platforms
Loading...
Searching...
No Matches
agora::rtc::SimulcastConfig::StreamLayerConfig Struct Reference

#include <AgoraBase.h>

Public Member Functions

 StreamLayerConfig ()
 

Public Attributes

VideoDimensions dimensions
 
int framerate
 
bool enable
 

Detailed Description

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

Constructor & Destructor Documentation

◆ StreamLayerConfig()

agora::rtc::SimulcastConfig::StreamLayerConfig::StreamLayerConfig ( )
inline

Member Data Documentation

◆ dimensions

VideoDimensions agora::rtc::SimulcastConfig::StreamLayerConfig::dimensions

The video frame dimension. The default value is 0.

◆ framerate

int agora::rtc::SimulcastConfig::StreamLayerConfig::framerate

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

◆ enable

bool agora::rtc::SimulcastConfig::StreamLayerConfig::enable

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