Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKNormalVideoElement Class Reference

#include <ZoomSDKVideoContainer.h>

Inherits ZoomSDKVideoElement.

Instance Methods

(ZoomSDKError- subscribeVideo:
 Set whether to display user's video.
 
- Instance Methods inherited from ZoomSDKVideoElement
(id) - initWithFrame:
 Create object of video elements for each user.
 
(ZoomSDKError- showVideo:
 Set whether to show video.
 
(VideoRenderElementType- getElementType
 Get the type of the video render element: preview/active/normal.
 
(VideoRenderDataType- getDataType
 Get data type of video render: avatar/video.
 
(NSView *) - getVideoView
 Get NSView object in the element.

 
(ZoomSDKError- resize:
 Resize the video view according to your requirements.
 
(ZoomSDKError- setResolution:
 Config the video view resolution.
 

Additional Inherited Members

- Protected Attributes inherited from ZoomSDKVideoElement
VideoRenderElementType _elementType
 
VideoRenderDataType _dataType
 
unsigned int _userid
 
NSView * _videoView
 
NSRect _viewFrame
 
- Properties inherited from ZoomSDKVideoElement
unsigned int userid
 
NSView * videoView
 

Detailed Description

Definition at line 81 of file ZoomSDKVideoContainer.h.

Method Documentation

◆ subscribeVideo:

- (ZoomSDKError) subscribeVideo: (BOOL) subscribe

Set whether to display user's video.

Parameters
subscribeYES means to display user's avatar or video, otherwise display a black background.
Returns
If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.