NERtc iOS SDK  V4.4.301
属性 | 所有成员列表
NERtcVideoCanvas类 参考

Configures the video canvas. 更多...

#import <NERtcEngineBase.h>

类 NERtcVideoCanvas 继承关系图:

属性

BOOL useExternalRender
 Specifies whether to use an external renderer. 更多...
 
VIEW_CLASS * container
 Video window container (SDK internal rendering) 更多...
 
NERtcVideoRenderScaleMode renderMode
 Video rendering mode 更多...
 
NERtcVideoMirrorMode mirrorMode
 Video mirror mode. 更多...
 
id< NERtcEngineVideoRenderSinkexternalVideoRender
 External renderer 更多...
 

详细描述

Configures the video canvas.

属性说明

◆ container

- (VIEW_CLASS*) container
readwritenonatomicstrong

Video window container (SDK internal rendering)

◆ externalVideoRender

- (id<NERtcEngineVideoRenderSink>) externalVideoRender
readwritenonatomicstrong

External renderer

◆ mirrorMode

- (NERtcVideoMirrorMode) mirrorMode
readwritenonatomicassign

Video mirror mode.

-Local view mirror mode: If you use the front camera, the local view mirror mode is enabled by default. If you use the rear camera, the local view mirror mode is disabled by default. -Remote view mirror mode: By default, the remote view mirror mode is disabled.

◆ renderMode

- (NERtcVideoRenderScaleMode) renderMode
readwritenonatomicassign

Video rendering mode

◆ useExternalRender

- (BOOL) useExternalRender
readwritenonatomicassign

Specifies whether to use an external renderer.

The default value is NO. If you want to use an external renderer, you can associate the renderer by calling externalVideoRender with the SDK. if not, you can associate the renderer based on the container with the SDK. Switching between the internal rendering and external rendering during a call is not supported.


该类的文档由以下文件生成: