NERtc iOS SDK  V4.4.301
属性 | 所有成员列表
NERtcLiveStreamLayout类 参考

The live streaming layout. 更多...

#import <NERtcEngineBase.h>

类 NERtcLiveStreamLayout 继承关系图:

属性

NSInteger width
 The width of the overall canvas. 更多...
 
NSInteger height
 The height of the overall canvas. 更多...
 
NSUInteger backgroundColor
 The background color of the canvas. 更多...
 
NSArray< NERtcLiveStreamUserTranscoding * > * users
 The member layout array. 更多...
 
NERtcLiveStreamImageInfobgImage
 The placeholder image For more information, see NERtcLiveStreamImageInfo. 更多...
 

详细描述

The live streaming layout.

属性说明

◆ backgroundColor

- (NSUInteger) backgroundColor
readwritenonatomicassign

The background color of the canvas.

The formula that is used to calculate the value of the background color is the sum of 256 × 256 × R 256 × G + B. Enter the corresponding RGB values into this formula to calculate the value. If the value is unspecified, the default value is 0.

◆ bgImage

- (NERtcLiveStreamImageInfo*) bgImage
readwritenonatomicstrong

The placeholder image For more information, see NERtcLiveStreamImageInfo.

◆ height

- (NSInteger) height
readwritenonatomicassign

The height 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.

◆ users

- (NSArray<NERtcLiveStreamUserTranscoding *>*) users
readwritenonatomicstrong

The member layout array.

For more information, see NERtcLiveStreamUserTranscoding.

◆ width

- (NSInteger) width
readwritenonatomicassign

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.


该类的文档由以下文件生成: