video or share canvas interface.
More...
#include <zoom_video_sdk_user_helper_interface.h>
video or share canvas interface.
Definition at line 291 of file zoom_video_sdk_user_helper_interface.h.
◆ ~IZoomVideoSDKCanvas()
virtual IZoomVideoSDKCanvas::~IZoomVideoSDKCanvas |
( |
| ) |
|
|
inlinevirtual |
◆ canvasType()
◆ setAspectMode()
Set the render video or share aspect ratio.
- Parameters
-
handle | The window handle of the showing video or share content. |
aspect | Specify a new video aspect ratio. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error. To get extended error information, see ZoomVideoSDKErrors enum.
◆ setResolution()
Sets the resolution for the user's video. Once you specify the value, the resolution will not change even if the size of the window is changed. Specifying a bigger resolution may cause a subscription failure.
- Parameters
-
handle | The window handle of the showing video. |
resolution | Specify the resolution for the video in the current render. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors. Otherwise, this function returns an error. To get extended error information, see ZoomVideoSDKErrors enum.
◆ subscribeWithView()
Subscribes to the user's video or share view.
- Parameters
-
handle | The window handle of the showing video or share content. |
aspect | Specify a video or share aspect ratio. |
resolution | Specify a video resolution, valid only for video canvas. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error. To get extended error information, see ZoomVideoSDKErrors enum.
◆ unSubscribeWithView()
Unsubscribes to the user's video or share view.
- Parameters
-
handle | The window handle of the showing video or share content. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise, this function returns an error. To get extended error information, see ZoomVideoSDKErrors enum.