Agora Java API Reference for Android

Public Attributes | List of all members
agora::rtc::SimulcastConfig::StreamLayerConfig Struct Reference

Configures the parameters of a specific layer in multi-quality video streams. More...

`#include <AgoraBase.h>`

## Public Attributes
VideoDimensions | dimensions
int | framerate
bool | enable

## Detailed Description

Configures the parameters of a specific layer in multi-quality video streams.

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

## 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.