ZegoVideoCaptureFactory Protocol Reference

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

Overview

视频外部采集工厂接口

– zego_create: required method

创建采集设备

- (nonnull id<ZegoVideoCaptureDevice>)zego_create:(nonnull NSString *)deviceId

Parameters

deviceId

设备 Id

Return Value

采集设备实例

Discussion

一定要实现

Declared In

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

– zego_destroy: required method

销毁采集设备

- (void)zego_destroy:(nonnull id<ZegoVideoCaptureDevice>)device

Parameters

device

zego_create返回的采集设备实例

Discussion

一定要实现

Declared In

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