7#import <Foundation/Foundation.h>
8#import <CoreGraphics/CoreGraphics.h>
9#import <ZMVideoSDK/ZMVideoSDKAnnotationHelper.h>
10#import <ZMVideoSDK/ZMVideoSDKRemoteControlHelper.h>
11#import <ZMVideoSDK/ZMVideoSDKWhiteboardHelper.h>
12NS_ASSUME_NONNULL_BEGIN
25@property(nonatomic,assign)CGDirectDisplayID
monitorID;
55@protocol ZMVideoSDKSharePreprocessor <NSObject>
171@protocol ZMVideoSDKShareSource <NSObject>
206@protocol ZMVideoSDKShareAudioSource <NSObject>
268- (BOOL)isShareViewValid:(CGWindowID)windowID;
412- (
ZMVideoSDKErrors)startSharingExternalSource:(
id<ZMVideoSDKShareSource> _Nonnull)shareSource audioSource:(
id<ZMVideoSDKShareAudioSource> _Nullable)audioSource DEPRECATED_MSG_ATTRIBUTE("Use -startSharingExternalSource: audioSource: isPlaying: instead");
422- (
ZMVideoSDKErrors)startSharingExternalSource:(
id<ZMVideoSDKShareSource> _Nonnull)shareSource audioSource:(
id<ZMVideoSDKShareAudioSource> _Nullable)audioSource isPlaying:(BOOL)isPlaying;
429- (
ZMVideoSDKErrors)startSharePureAudioSource:(
id<ZMVideoSDKShareAudioSource> _Nonnull)audioSource DEPRECATED_MSG_ATTRIBUTE("Use -startSharePureAudioSource: isPlaying: instead");
437- (
ZMVideoSDKErrors)startSharePureAudioSource:(
id<ZMVideoSDKShareAudioSource> _Nonnull)audioSource isPlaying:(BOOL)isPlaying;
485- (
ZMVideoSDKErrors)setAnnotationVanishingToolTime:(
unsigned int)displayTime vanishingTime:(
unsigned int)vanishingTime;
494- (
ZMVideoSDKErrors)getAnnotationVanishingToolTime:(
unsigned int*)displayTime vanishingTime:(
unsigned int*)vanishingTime;
ZMVideoSDKSharePreprocessType
Enumeration of share preprocess types.
ZMVideoSDKSubscribeFailReason
Enumerates the reasons for a failed video subscription attempt.
ZMVideoSDKShareCapturePauseReason
Enumeration of reasons why screen sharing capture is paused in the Zoom Video SDK.
ZMVideoSDKAudioChannel
Enumeration of audio channel types.
ZMVideoSDKShareType
Enumerates the types of content available for sharing in a session.
ZMVideoSDKErrors
Enumerates all errors in the VideoSDK.
ZMVideoSDKFrameDataFormat
Enumeration of raw data formats. Defines the color space format and color range for video frames.
ZMVideoSDKShareStatus
Enumerates the status of sharing.
Annotation helper interface for Zoom Video SDK.
Video or share raw data pipe interface.
Helper class to manage sending, approving, or canceling remote control requests in a session.
Represents the state and control interfaces of a share action in a Zoom session.
ZMVideoSDKErrors revokeRemoteControl()
Gets back all the authority of remote control. Only available for the user themselves.
ZMVideoSDKSubscribeFailReason subscribeFailReason
The subscribe fail reason.
ZMVideoSDKRemoteControlHelper *_Nullable getRemoteControlHelper()
Gets the helper class instance to access remote control. Only available for controller side.
BOOL isAnnotationPrivilegeEnabled
Determines whether annotation privilege is enabled.
unsigned int shareSourceId
Share source ID.
ZMVideoSDKShareCapturePauseReason shareCapturePauseReason
Gets the reason why the share capture is paused.
ZMVideoSDKVideoCanvas *_Nullable getShareCanvas()
Gets the render canvas object.
ZMVideoSDKRawDataPipe *_Nullable getSharePipe()
Gets the share raw data pipe.
NSArray< ZMVideoSDKUser * > *_Nullable getRemoteControlApprovedUserList()
Gets the list of users I (the controlling user) have agreed to control. Only available for the contro...
ZMVideoSDKShareStatus shareStatus
Share status.
ZMVideoSDKShareType shareType
Share type.
NSSize getShareSourceContentSize()
Gets the share content's size.
ZMVideoSDKUser *_Nullable getCurrentRemoteController()
Gets the controller ID who is currently controlling me (the controlled user). Only available for the ...
Interface to send share audio raw data.
Main helper class managing sharing.
BOOL isMultiShareEnabled()
Determines whether multi share is enabled or not.
ZMVideoSDKWhiteboardHelper *_Nullable getWhiteboardHelper()
Returns an instance to manage whiteboard during a video SDK session.
BOOL isSharingOut()
Determines whether the current user is sharing.
ZMVideoSDKErrors startShareComputerAudio()
Starts sharing the computer audio only.
BOOL isScreenSharingOut()
Determines whether the current user is sharing the screen.
ZMVideoSDKErrors pauseShare()
Pauses share.
BOOL isOtherSharing()
Determines whether other user is sharing.
BOOL isViewerAnnotationDisabled()
Whether annotation on current sharing is disabled or not.
BOOL isShareDeviceAudioEnabled()
Determines if the SDK has enabled share computer sound. This reflects the execution status of 'enable...
BOOL isShareLocked()
Determines whether sharing the view or screen is locked.
ZMVideoSDKErrors resumeShare()
Resumes share.
BOOL isOptimizeForSharedVideoEnabled()
Determines if optimization for video is enabled.
BOOL isAnnotationFeatureSupport()
Whether annotation feature is supported or not.
ZMVideoSDKErrors unSubscribeMyShareCamera()
Unsubscribes to the camera's raw data stream that is shared as the second camera.
ZMVideoSDKErrors stopShare()
Stops view or screen share.
Configuration options for sharing.
BOOL isWithDeviceAudio
Share option, YES indicates share computer sound when sharing screen or window. Otherwise,...
BOOL isOptimizeForSharedVideo
Share option, YES indicates optimize the frame rate when sharing screen or window....
Parameters for share preprocessing including the type and screen or window identifiers.
CGWindowID windowID
The window handle that to share and pre-process.
CGDirectDisplayID monitorID
The screen ID that to share and pre-process.
pid_t processID
The application process ID that to share and pre-process.
ZMVideoSDKSharePreprocessType type
The share pre-process type.
Interface to send preprocessed YUV raw data frames back to the SDK.
Interface to send video share frame data.
Zoom Video SDK user information.
Manages the rendering of video or screen share content in the Zoom Video SDK.
Helper class for managing whiteboard functionality in Zoom Video SDK sessions.
YUV raw data 420 infomation interface.
void onStopSendAudio()
Callback for audio source to stop sending raw data.
void onShareStopped()
You receives this callback when call 'stopShare' successfully. In this event notification,...
void onShareSendStopped()
Callback for share source stop send raw data.