Agora C++ API Reference for All Platforms
Classes | Public Types | Public Attributes | List of all members
agora::rtc::SimulcastConfig Struct Reference

Classes

struct  StreamLayerConfig
 

Public Types

enum  StreamLayerIndex {
  STREAM_LAYER_1 = 0, STREAM_LAYER_2 = 1, STREAM_LAYER_3 = 2, STREAM_LAYER_4 = 3,
  STREAM_LAYER_5 = 4, STREAM_LAYER_6 = 5, STREAM_LOW = 6, STREAM_LAYER_COUNT_MAX = 7
}
 

Public Attributes

StreamLayerConfig configs [STREAM_LAYER_COUNT_MAX]
 

Detailed Description

The configuration of the multi-layer video stream.

Member Enumeration Documentation

◆ StreamLayerIndex

The index of multi-layer video stream

Enumerator
STREAM_LAYER_1 

0: video stream index of layer_1

STREAM_LAYER_2 

1: video stream index of layer_2

STREAM_LAYER_3 

2: video stream index of layer_3

STREAM_LAYER_4 

3: video stream index of layer_4

STREAM_LAYER_5 

4: video stream index of layer_5

STREAM_LAYER_6 

5: video stream index of layer_6

STREAM_LOW 

6: video stream index of low

STREAM_LAYER_COUNT_MAX 

7: max count of video stream layers

Member Data Documentation

◆ configs

StreamLayerConfig agora::rtc::SimulcastConfig::configs[STREAM_LAYER_COUNT_MAX]

The array of StreamLayerConfig, which contains STREAM_LAYER_COUNT_MAX layers of video stream at most.