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
Gets data type of video render: avatar or video.
- Returns
- The data type of the video render.
◆ getElementType
Gets the video's type render element: preview, active, or normal.
- Returns
- The video render element's type.
◆ getVideoView
| - (NSView *) getVideoView |
|
|
|
Gets NSView object in the element.
- Returns
- The point of the video view.
◆ initWithFrame:
| - (id) initWithFrame: |
|
(NSRect) | rect |
|
Creates 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 returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ setResolution:
Config the video view resolution.
- Parameters
-
| resolution | Custom resolution of video view. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ showVideo:
Sets whether to show video.
- Parameters
-
| show | YES if displaying video, NO otherwise. |
- Returns
- If the function succeeds, it returns ZoomSDKError_Success. Otherwise, this function returns an error.
◆ _dataType
◆ _elementType
◆ _userid
◆ _videoView
◆ _viewFrame
◆ userid
◆ videoView