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

Subclass of ZoomSDKVideoElement for normal participant video. More...

#include <ZoomSDKVideoContainer.h>

Inherits ZoomSDKVideoElement.

Instance Methods

(ZoomSDKError- subscribeVideo:
 Sets whether to display user's video.
 
- Instance Methods inherited from ZoomSDKVideoElement
(id) - initWithFrame:
 Creates object of video elements for each user.
 
(ZoomSDKError- showVideo:
 Sets whether to show video.
 
(VideoRenderElementType- getElementType
 Gets the video's type render element: preview, active, or normal.
 
(VideoRenderDataType- getDataType
 Gets data type of video render: avatar or video.
 
(NSView *) - getVideoView
 Gets 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
 The user ID for this video element.
 
NSView * videoView
 The view used to render video.
 

Detailed Description

Subclass of ZoomSDKVideoElement for normal participant video.

Definition at line 108 of file ZoomSDKVideoContainer.h.

Method Documentation

◆ subscribeVideo:

- (ZoomSDKError) subscribeVideo: (BOOL) subscribe

Sets whether to display user's video.

Parameters
subscribeYES to display user's avatar or video, NO to display a black background.
Returns
If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.