|
Video SDK for iOS API Reference
|
An interface to control video and manage cameras during a video session. More...
#include <ZoomVideoSDKVideoHelper.h>
Inherits NSObject.
Instance Methods | |
| (ZoomVideoSDKError) | - startVideoPreview: |
| Subscribes to video raw data with a delegate. | |
| (ZoomVideoSDKError) | - startVideoPreview:resolution: |
| Subscribes to preview video raw data with a delegate. | |
| (ZoomVideoSDKError) | - stopVideoPreview: |
| Unsubscribes from preview video raw data with the subscribed delegate. | |
| (ZoomVideoSDKError) | - startVideoCanvasPreview:andAspectMode: |
| Subscribes to preview with a canvas view. | |
| (ZoomVideoSDKError) | - stopVideoCanvasPreview: |
| Unsubscribes from preview with a canvas view. | |
| (ZoomVideoSDKError) | - startVideo |
| Starts sending local video data from the camera. | |
| (ZoomVideoSDKError) | - stopVideo |
| Stops sending local video data from the camera. | |
| (BOOL) | - rotateMyVideo: |
| Rotates the video when the device is rotated. | |
| (ZoomVideoSDKError) | - mirrorMyVideo: |
| Mirrors the current user's video. | |
| (BOOL) | - isMyVideoMirrored |
| Determines whether mirror my video is enabled. | |
| (void) | - switchCamera |
| Switches to the next available camera. | |
| (NSArray< ZoomVideoSDKCameraDevice * > *_Nullable) | - getCameraDeviceList |
| Gets the camera device list. | |
| (BOOL) | - switchCamera: |
| Switches camera by camera ID. | |
| (ZoomVideoSDKCameraDevice *_Nullable) | - getSelectedCamera |
| Gets the current camera device in use. | |
| (ZoomVideoSDKError) | - setVideoQualityPreference: |
| Adjusts user's video resolution and frame rate. | |
| (BOOL) | - isOriginalAspectRatioEnabled |
| Determines whether current aspect ratio is the original aspect ratio of video. | |
| (BOOL) | - enableOriginalAspectRatio: |
| Sets the aspect ratio of the video sent out. | |
| (BOOL) | - canEnableAlphaChannelMode |
| Determines whether alpha channel mode can be enabled. | |
| (ZoomVideoSDKError) | - enableAlphaChannelMode: |
| Enables or disables video alpha channel mode. | |
| (BOOL) | - isAlphaChannelModeEnabled |
| Determines whether alpha channel mode is enabled. | |
| (BOOL) | - isDeviceSupportAlphaChannelMode |
| Determines whether the device hardware capabilities are capable of supporting video alpha mode. | |
| (ZoomVideoSDKError) | - spotLightVideo: |
| Spotlights user's video. | |
| (ZoomVideoSDKError) | - unSpotLightVideo: |
| Unspotlights user's video. | |
| (ZoomVideoSDKError) | - unSpotlightAllVideos |
| Sets all user's video unspotlight. | |
| (NSArray< ZoomVideoSDKUser * > *_Nullable) | - getSpotlightedVideoUserList |
| Gets spotlighted video user list. | |
| (BOOL) | - isMultiStreamSupported |
| Determines whether the current device (phone, pad) supports the multi camera feature. | |
| (BOOL) | - enableMultiStreamVideo:customDeviceName: |
| Enables multiple video stream support if you have multiple cameras and other participants can see multiple videos of you. | |
| (BOOL) | - disableMultiStreamVideo: |
| Disables the multiple video stream. | |
| (BOOL) | - muteMultiStreamVideo: |
| Turns off the multiple video stream. | |
| (BOOL) | - unmuteMultiStreamVideo: |
| Turns on the multiple video stream. | |
| (NSString *_Nullable) | - getDeviceIDByMyPipe: |
| Gets the device ID associated with my multi-camera pipe. | |
| (NSString *_Nullable) | - getDeviceIDByMyCanvas: |
| Gets the device ID associated with my multi-camera canvas. | |
An interface to control video and manage cameras during a video session.
Definition at line 101 of file ZoomVideoSDKVideoHelper.h.
| - (BOOL) canEnableAlphaChannelMode |
Determines whether alpha channel mode can be enabled.
| - (BOOL) disableMultiStreamVideo: | (NSString *_Nullable) | cameraDeviceID |
Disables the multiple video stream.
| cameraDeviceID | The camera ID that you want to disable. SeeZoomVideoSDKCameraDevice}. |
| - (ZoomVideoSDKError) enableAlphaChannelMode: | (BOOL) | enable |
Enables or disables video alpha channel mode.
| enable | YES to enable alpha channel mode, NO to disable. |
| - (BOOL) enableMultiStreamVideo: | (NSString *_Nullable) | cameraDeviceID | |
| customDeviceName: | (NSString *_Nullable) | customDeviceName |
Enables multiple video stream support if you have multiple cameras and other participants can see multiple videos of you.
| cameraDeviceID | The camera ID for the camera to enable. SeeZoomVideoSDKCameraDevice}. |
| customDeviceName | The custom device name of the camera. If you don't pass this parameter, the SDK generates a default name. |
| - (BOOL) enableOriginalAspectRatio: | (BOOL) | enabled |
Sets the aspect ratio of the video sent out.
| enabled | NO means the aspect ratio is 16:9, YES means using the original aspect ratio of video. |
| - (NSArray< ZoomVideoSDKCameraDevice * > *_Nullable) getCameraDeviceList |
Gets the camera device list.
| - (NSString *_Nullable) getDeviceIDByMyCanvas: | (ZoomVideoSDKVideoCanvas *_Nullable) | canvas |
Gets the device ID associated with my multi-camera canvas.
| canvas | One of my multi-camera canvases. |
| - (NSString *_Nullable) getDeviceIDByMyPipe: | (ZoomVideoSDKRawDataPipe *_Nullable) | pipe |
Gets the device ID associated with my multi-camera pipe.
| pipe | One of my multi-camera pipes. |
| - (ZoomVideoSDKCameraDevice *_Nullable) getSelectedCamera |
Gets the current camera device in use.
| - (NSArray< ZoomVideoSDKUser * > *_Nullable) getSpotlightedVideoUserList |
Gets spotlighted video user list.
| - (BOOL) isAlphaChannelModeEnabled |
Determines whether alpha channel mode is enabled.
| - (BOOL) isDeviceSupportAlphaChannelMode |
Determines whether the device hardware capabilities are capable of supporting video alpha mode.
| - (BOOL) isMultiStreamSupported |
Determines whether the current device (phone, pad) supports the multi camera feature.
| - (BOOL) isMyVideoMirrored |
Determines whether mirror my video is enabled.
| - (BOOL) isOriginalAspectRatioEnabled |
Determines whether current aspect ratio is the original aspect ratio of video.
| - (ZoomVideoSDKError) mirrorMyVideo: | (BOOL) | enable |
Mirrors the current user's video.
| enable | YES to enable mirror my video, NO to reset the mirror effect back. |
| - (BOOL) muteMultiStreamVideo: | (NSString *_Nullable) | cameraDeviceID |
Turns off the multiple video stream.
| cameraDeviceID | The camera ID running as a multiple camera. SeeZoomVideoSDKCameraDevice}. |
| - (BOOL) rotateMyVideo: | (UIDeviceOrientation) | rotation |
Rotates the video when the device is rotated.
| rotation | The orientation you want to rotate. |
| - (ZoomVideoSDKError) setVideoQualityPreference: | (ZoomVideoSDKVideoPreferenceSetting *_Nullable) | preferenceSetting |
Adjusts user's video resolution and frame rate.
| preferenceSetting | An instance of ZoomVideoSDKVideoPreferenceSetting. |
| - (ZoomVideoSDKError) spotLightVideo: | (ZoomVideoSDKUser *_Nullable) | user |
Spotlights user's video.
| user | The user which you want to spotlight. |
| - (ZoomVideoSDKError) startVideo |
Starts sending local video data from the camera.
| - (ZoomVideoSDKError) startVideoCanvasPreview: | (UIView *_Nullable) | view | |
| andAspectMode: | (ZoomVideoSDKVideoAspect) | aspect |
Subscribes to preview with a canvas view.
| view | The view which draws the preview video. |
| aspect | The aspect mode of the preview. |
| - (ZoomVideoSDKError) startVideoPreview: | (id< ZoomVideoSDKRawDataPipeDelegate >_Nullable) | delegate |
Subscribes to video raw data with a delegate.
| delegate | The delegate which receives raw data of preview video. |
| - (ZoomVideoSDKError) startVideoPreview: | (id< ZoomVideoSDKRawDataPipeDelegate >_Nullable) | delegate | |
| resolution: | (ZoomVideoSDKVideoResolution) | resolution |
Subscribes to preview video raw data with a delegate.
| delegate | The delegate which receives raw data of preview video. |
| resolution | The resolution at which to open the camera. |
| - (ZoomVideoSDKError) stopVideo |
Stops sending local video data from the camera.
| - (ZoomVideoSDKError) stopVideoCanvasPreview: | (UIView *_Nullable) | view |
Unsubscribes from preview with a canvas view.
| view | The view which draws raw data of preview video. |
| - (ZoomVideoSDKError) stopVideoPreview: | (id< ZoomVideoSDKRawDataPipeDelegate > _Nullable) | delegate |
Unsubscribes from preview video raw data with the subscribed delegate.
| delegate | The delegate which receives raw data of preview video. |
| - (void) switchCamera |
Switches to the next available camera.
| - (BOOL) switchCamera: | (NSString *_Nullable) | cameraId |
Switches camera by camera ID.
| cameraId | The target camera ID. |
| - (BOOL) unmuteMultiStreamVideo: | (NSString *_Nullable) | cameraDeviceID |
Turns on the multiple video stream.
| cameraDeviceID | The camera ID running as a multiple camera. SeeZoomVideoSDKCameraDevice}. |
| - (ZoomVideoSDKError) unSpotlightAllVideos |
Sets all user's video unspotlight.
| - (ZoomVideoSDKError) unSpotLightVideo: | (ZoomVideoSDKUser *_Nullable) | user |
Unspotlights user's video.
| user | The user which you want to unspotlight. |