logo
On this page

ZegoCustomVideoRenderConfig

ZegoCustomVideoRenderConfig

Custom video render configuration.

Details

When you need to use the custom video render function, you need to set an instance of this class as a parameter to the [enableCustomVideoRender] function.

Declared in ZegoExpressDefines.h

Properties

bufferType

bufferType
nonatomic, assign ZegoVideoBufferType bufferType

Custom video capture video frame data type

frameFormatSeries

frameFormatSeries
nonatomic, assign ZegoVideoFrameFormatSeries frameFormatSeries

Custom video rendering video frame data format。Useless when set bufferType as [EncodedData]

enableEngineRender

enableEngineRender
nonatomic, assign BOOL enableEngineRender

Whether the engine also renders while customizing video rendering. The default value is [false]. Useless when set bufferType as [EncodedData]

Previous

zegocustomvideoprocessconfig

Next

zegodatarecordconfig

On this page

Back to top