ZegoVideoFilter Protocol Reference

Declared in zego-api-external-video-filter-oc.h

Overview

外部滤镜

– zego_allocateAndStart: required method

初始化外部滤镜使用的资源

- (void)zego_allocateAndStart:(nonnull id<ZegoVideoFilterClient>)client

Parameters

client

外部滤镜客户端,主要用于向 SDK 传递数据

Declared In

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

– zego_stopAndDeAllocate required method

停止并释放外部滤镜占用的资源

- (void)zego_stopAndDeAllocate

Declared In

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

– supportBufferType required method

支持的 buffer 类型

- (ZegoVideoBufferType)supportBufferType

Return Value

buffer 类型,参考 ZegoVideoBufferType 定义

Declared In

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