Interface for video element rendering in custom UI.
More...
#include <ZoomSDKVideoContainer.h>
Inherits NSObject.
Inherited by ZoomSDKActiveVideoElement, ZoomSDKNormalVideoElement, and ZoomSDKPreViewVideoElement.
|
unsigned int | userid |
| The user ID for this video element.
|
|
NSView * | videoView |
| The view used to render video.
|
|
Interface for video element rendering in custom UI.
- Note
- This class is available only for custom UI.
Definition at line 18 of file ZoomSDKVideoContainer.h.
◆ getDataType
Get data type of video render: avatar/video.
- Returns
- The data type of the video render.
◆ getElementType
Get the type of the video render element: preview/active/normal.
- Returns
- The type of the video render element.
◆ getVideoView
- (NSView *) getVideoView |
|
|
|
Get NSView object in the element.
- Returns
- The point of the video view.
◆ initWithFrame:
- (id) initWithFrame: |
|
(NSRect) | rect |
|
Create object of video elements for each user.
- Parameters
-
◆ resize:
Resize the video view according to your requirements.
- Parameters
-
frame | Custom frame of video view. |
- Returns
- If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.
◆ setResolution:
Config the video view resolution.
- Parameters
-
resolution | Custom resolution of video view. |
- Returns
- If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.
◆ showVideo:
Set whether to show video.
- Parameters
-
show | YES means displaying video, otherwise not. |
- Returns
- If the function succeeds, it will return ZoomSDKError_Success. Otherwise failed.
◆ _dataType
◆ _elementType
◆ _userid
◆ _videoView
◆ _viewFrame
◆ userid
◆ videoView