NERtc Windows SDK
V4.4.301
|
#include <nertc_engine_defines.h>
Public 属性 | |
int | width |
int | height |
unsigned int | background_color |
unsigned int | user_count |
NERtcLiveStreamUserTranscoding * | users |
NERtcLiveStreamImageInfo * | bg_image |
The live streaming layout.
unsigned int nertc::NERtcLiveStreamLayout::background_color |
The background color of the canvas. The value of the background color is the sum of 256 x 256 x R + 256 x G + B. Enter the corresponding RGB values into this formula to calculate the value. If the value is unspecified, the default value is 0.
NERtcLiveStreamImageInfo* nertc::NERtcLiveStreamLayout::bg_image |
For more information, see NERtcLiveStreamImageInfo.
int nertc::NERtcLiveStreamLayout::height |
The height of the overall canvas. Unit: - true: 0 to 1920. If the specified value is set to an odd value, the value is automatically rounded down to an even number.
unsigned int nertc::NERtcLiveStreamLayout::user_count |
The member layout in live streaming.
NERtcLiveStreamUserTranscoding* nertc::NERtcLiveStreamLayout::users |
The member layout array. For more information, see NERtcLiveStreamUserTranscoding.
int nertc::NERtcLiveStreamLayout::width |
The width of the overall canvas. Unit: px. Value range: 0 to 1920. If the specified value is set to an odd value, the value is automatically rounded down to an even number.