6#import <Foundation/Foundation.h>
7#import <AVFoundation/AVFoundation.h>
8#import <ZoomVideoSDK/ZoomVideoSDKConstants.h>
9#import <ZoomVideoSDK/ZoomVideoSDKRawDataPipe.h>
11@protocol ZoomVideoSDKRawDataPipeDelegate;
23@property (nonatomic, assign) BOOL
on;
61@property (nonatomic, readonly, nullable, copy) NSString*
deviceId;
65@property (nonatomic, readonly, nullable, copy) NSString*
deviceName;
73@property (nonatomic, readonly, assign) AVCaptureDevicePosition
position;
77@property (nonatomic, readonly, nullable, copy) AVCaptureDeviceType
deviceType;
109- (
ZoomVideoSDKError)startVideoPreview:(
id<ZoomVideoSDKRawDataPipeDelegate>_Nullable)delegate DEPRECATED_MSG_ATTRIBUTE("startVideoPreview:resolution:");
159- (BOOL)rotateMyVideo:(UIDeviceOrientation)rotation;
193- (BOOL)
switchCamera:(NSString * _Nullable)cameraId API_UNAVAILABLE(visionos);
208#pragma mark - OriginalAspec -
221- (BOOL)enableOriginalAspectRatio:(BOOL)enabled;
223#pragma mark - alpha channel -
251#pragma mark - spotlight -
278#pragma mark - multi stream -
293- (BOOL)enableMultiStreamVideo:(NSString * _Nullable)cameraDeviceID customDeviceName:(NSString * _Nullable)customDeviceName API_UNAVAILABLE(visionos);
300- (BOOL)disableMultiStreamVideo:(NSString * _Nullable)cameraDeviceID API_UNAVAILABLE(visionos);
307- (BOOL)muteMultiStreamVideo:(NSString * _Nullable)cameraDeviceID API_UNAVAILABLE(visionos);
314- (BOOL)unmuteMultiStreamVideo:(NSString * _Nullable)cameraDeviceID API_UNAVAILABLE(visionos);
ZoomVideoSDKVideoPreferenceMode
Enumeration of video preference modes.
ZoomVideoSDKVideoResolution
Enumeration of the render resolution.
ZoomVideoSDKError
Enumeration of all the errors in the VideoSDK.
ZoomVideoSDKVideoAspect
Enumeration of the video aspect ratio.
Represents a camera device and its state.
BOOL isSelectedAsMultiCamera
Determines whether the camera is selected as a multiple video stream.
BOOL isRunningAsMultiCamera
Determines whether the camera is running as a multiple video stream.
NSString * deviceId
Gets the camera device ID.
BOOL isSelectDevice
Determines whether the camera is currently in use.
CGFloat maxZoomFactor
Gets the camera maximum zoom factor. Maximum supported is 10.
NSString * deviceName
Gets the camera name.
AVCaptureDeviceType deviceType
Gets the camera device type.
CGFloat videoZoomFactorUpscaleThreshold
Gets the maximum optical zoom factor.
AVCaptureDevicePosition position
Gets the camera position.
A class to manage the subscription and unsubscription of video or share raw data.
Zoom Video SDK user information.
The video canvas is the display area of the video streams on the user’s local device....
An interface to control video and manage cameras during a video session.
BOOL isMultiStreamSupported()
Determines whether the current device (phone, pad) supports the multi camera feature.
BOOL isOriginalAspectRatioEnabled()
Determines whether current aspect ratio is the original aspect ratio of video.
NSArray< ZoomVideoSDKUser * > *_Nullable getSpotlightedVideoUserList()
Gets spotlighted video user list.
BOOL canEnableAlphaChannelMode()
Determines whether alpha channel mode can be enabled.
ZoomVideoSDKError unSpotlightAllVideos()
Sets all user's video unspotlight.
NSArray< ZoomVideoSDKCameraDevice * > *_Nullable getCameraDeviceList()
Gets the camera device list.
ZoomVideoSDKError startVideo()
Starts sending local video data from the camera.
BOOL isDeviceSupportAlphaChannelMode()
Determines whether the device hardware capabilities are capable of supporting video alpha mode.
ZoomVideoSDKCameraDevice *_Nullable getSelectedCamera()
Gets the current camera device in use.
ZoomVideoSDKError stopVideo()
Stops sending local video data from the camera.
void switchCamera()
Switches to the next available camera.
BOOL isAlphaChannelModeEnabled()
Determines whether alpha channel mode is enabled.
BOOL isMyVideoMirrored()
Determines whether mirror my video is enabled.
Video preference interface.When setting custom modes, the maximum and minimum frame rates are provide...
NSUInteger maximumFrameRate
Maximum frame rate, default is 0.
NSUInteger minimumFrameRate
Minimum frame rate, default is 0.
ZoomVideoSDKVideoPreferenceMode mode
Preferred video mode.
BOOL on
Determines whether the camera is turned on.