Agora Server Gateway SDK C++ API Reference
Public Member Functions | Public Attributes | List of all members
agora::rtc::StreamLayerConfigInternal Struct Reference

#include <NGIAgoraVideoTrack.h>

Public Member Functions

 StreamLayerConfigInternal ()
 
 StreamLayerConfigInternal (const StreamLayerConfigInternal &other)
 
bool operator== (const StreamLayerConfigInternal &rhs) const
 
StreamLayerConfigInternaloperator= (const SimulcastConfig::StreamLayerConfig &slc)
 
void reset ()
 

Public Attributes

VideoDimensions dimensions
 
int framerate
 
int bitrate_kbps
 
bool enable
 

Detailed Description

Configuration parameters for YUV video streams.

Constructor & Destructor Documentation

◆ StreamLayerConfigInternal() [1/2]

agora::rtc::StreamLayerConfigInternal::StreamLayerConfigInternal ( )
inline

◆ StreamLayerConfigInternal() [2/2]

agora::rtc::StreamLayerConfigInternal::StreamLayerConfigInternal ( const StreamLayerConfigInternal other)
inline

Member Function Documentation

◆ operator=()

StreamLayerConfigInternal & agora::rtc::StreamLayerConfigInternal::operator= ( const SimulcastConfig::StreamLayerConfig &  slc)
inline

◆ operator==()

bool agora::rtc::StreamLayerConfigInternal::operator== ( const StreamLayerConfigInternal rhs) const
inline

◆ reset()

void agora::rtc::StreamLayerConfigInternal::reset ( )
inline

Member Data Documentation

◆ bitrate_kbps

int agora::rtc::StreamLayerConfigInternal::bitrate_kbps

Video bitrate (bps). Default value is 65.

◆ dimensions

VideoDimensions agora::rtc::StreamLayerConfigInternal::dimensions

Video dimensions. See VideoDimensions. Default value is 160 × 120.

◆ enable

bool agora::rtc::StreamLayerConfigInternal::enable

Whether to enable the stream:

  • true: Enable the stream
  • false: Disable the stream

◆ framerate

int agora::rtc::StreamLayerConfigInternal::framerate

Video frame rate (fps). Default value is 5.


The documentation for this struct was generated from the following file: