logo
当前页

ZegoMixerWhiteboard

ZegoMixerWhiteboard

混流输入白板对象

详情

配置混流输入的白板 ID、宽高比、布局。

Declared in ZegoExpressDefines.h

属性

whiteboardID

whiteboardID
unsigned long long whiteboardID

白板 ID。

horizontalRatio

horizontalRatio
int horizontalRatio

白板原始宽高比(宽),默认宽高比为 16:9。

verticalRatio

verticalRatio
int verticalRatio

白板原始宽高比(高),默认宽高比为 16:9。

isPPTAnimation

isPPTAnimation
BOOL isPPTAnimation

白板是否会加载动态 PPT 文件,默认值为 false。

layout

layout
nonatomic, assign CGRect layout

白板的布局。

zOrder

zOrder
int zOrder

白板视图层级。

backgroundColor

backgroundColor
int backgroundColor

白板的背景颜色。默认是 0xF1F3F400 (灰色)。 颜色值对应 RGBA 为 0xRRGGBBAA,目前不支持设置背景色的透明度,0xRRGGBBAA 中的 AA 为 00 即可。例如:选取 RGB 为 #87CEFA 作为背景色,此参数传 0x87CEFA00。

方法

initWithWhiteboardID:layout

initWithWhiteboardID:layout
- (instancetype)initWithWhiteboardID:(unsigned long long)whiteboardID layout:(CGRect)layout;
创建混流白板对象
Declared in ZegoExpressDefines.h

ZegoMixerWhiteboard 实例

上一篇

zegomixervideoconfig

下一篇

zegonetworkprobeconfig

当前页

返回到顶部