Agora C++ API Reference for All Platforms

Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
agora::rtc::SimulcastConfig::StreamLayerConfig Struct Reference

`#include <AgoraBase.h>`

## Public Member Functions
| StreamLayerConfig ()

## Public Attributes
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()

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

## Member Data Documentation

## ◆ dimensions

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

Video frame size. Default is 0. See `VideoDimensions`.

## ◆ framerate

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

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

## ◆ enable

bool agora::rtc::SimulcastConfig::StreamLayerConfig::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.