ZegoVideoCaptureClientDelegate Protocol Reference

Conforms to NSObject
ZegoVideoCaptureDelegate
Declared in zego-api-external-video-capture-oc.h

Overview

视频外部采集客户端代理

– destroy required method

销毁

- (void)destroy

Discussion

调用者需要在此 API 中进行相关的销毁操作

Declared In

zego-api-external-video-capture-oc.h

– onError: required method

错误信息

- (void)onError:(nullable NSString *)reason

Parameters

reason

错误原因

Declared In

zego-api-external-video-capture-oc.h

– setFillMode: required method

设置图像填充模式

- (void)setFillMode:(ZegoVideoFillMode)mode

Parameters

mode

填充模式

Declared In

zego-api-external-video-capture-oc.h

– setFlipMode: required method

设置图像翻转模式

- (void)setFlipMode:(int)mode

Parameters

mode

翻转模式, 参考ZegoVideoFlipMode的定义

Discussion

supportBufferType 为 ZegoVideoCaptureDeviceOutputBufferTypeGlTexture2D 时有效

默认值 ZegoVideoFlipVertical, 如果不需要,设置成ZegoVideoFlipNone

Declared In

zego-api-external-video-capture-oc.h