Manages the rendering of video or screen share content in the Zoom Video SDK.
More...
#include <ZMVideoSDKVideoCanvas.h>
Inherits NSObject.
Manages the rendering of video or screen share content in the Zoom Video SDK.
Definition at line 15 of file ZMVideoSDKVideoCanvas.h.
◆ setAspectMode:aspect:
Sets the video or share aspect mode.
- Parameters
-
view | The NSView object, needed to render video or share. |
aspect | The aspect ratio of the video or share. |
- Returns
- If the function succeeds, it will return ZMVideoSDKErrors_Success.
◆ setResolution:resolution:
Sets the resolution.
- Parameters
-
view | The NSView object, needed to render video. |
resolution | The resolution of the video. |
- Returns
- If the function succeeds, it will return
ZMVideoSDKErrors_Success
.
- Warning
- Avaliable only for subscribe video, unavaliable for subscribe sharing.
◆ subscribeWithView:aspectMode:resolution:
Subscribes to video or share data.
- Parameters
-
view | The NSView object, needed to render video or share. |
aspect | The aspect ratio of the video or share. |
resolution | Specified the resolution of video. valid only for subscribe video. |
- Returns
- If the function succeeds, it will return ZMVideoSDKErrors_Success.
◆ unSubscribeWithView:
Unsubscribes to video or share data.
- Parameters
-
view | The NSView object, needed to render video or share. |
- Returns
- If the function succeeds, it will return ZMVideoSDKErrors_Success.
◆ canvasType