ZegoCustomVideoRenderConfig class

自定义视频渲染配置

当需要使用自定义渲染功能时需要将该类的实例作为参数设置给 enableCustomVideoRender 函数。

Constructors

ZegoCustomVideoRenderConfig(ZegoVideoBufferType bufferType, ZegoVideoFrameFormatSeries frameFormatSeries, bool enableEngineRender)

Properties

bufferType ZegoVideoBufferType
自定义视频渲染视频帧数据类型
read / write
enableEngineRender ↔ bool
是否在自定义视频渲染的同时,引擎也渲染,默认为 false。当 bufferType 设置为 EncodedData 时,此成员无效
read / write
frameFormatSeries ZegoVideoFrameFormatSeries
自定义视频渲染视频帧数据格式。当 bufferType 设置为 EncodedData 时,此成员无效
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited