Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCMeetingService+Video.h
Go to the documentation of this file.
1//
2// MobileRTCMeetingService+Video.h
3// MobileRTC
4//
5// Created by Zoom Communications on 2018/6/6.
6// Copyright © Zoom Communications, Inc. All rights reserved.
7//
8
9#import <MobileRTC/MobileRTC.h>
10#import <AVFoundation/AVFoundation.h>
11
24@property (nonatomic, assign) MobileRTCVideoPreferenceMode mode;
25
30@property (nonatomic, assign) NSUInteger minimumFrameRate;
31
36@property (nonatomic, assign) NSUInteger maximumFrameRate;
37
38@end
39
44@interface MobileRTCCameraDevice : NSObject
48@property (nonatomic, readonly, nullable, copy) NSString* deviceId;
52@property (nonatomic, readonly, nullable, copy) NSString* deviceName;
56@property (nonatomic, readonly, assign) BOOL isSelectDevice;
60@property (nonatomic, readonly, assign) AVCaptureDevicePosition position;
64@property (nonatomic, readonly, nullable, copy) AVCaptureDeviceType deviceType;
68@property (nonatomic, readonly, assign) CGFloat maxZoomFactor;
72@property (nonatomic, readonly, assign) CGFloat videoZoomFactorUpscaleThreshold;
73
74@end
75
76
80@interface MobileRTCMeetingService (Video)
81
86- (BOOL)isSendingMyVideo;
87
92- (BOOL)canUnmuteMyVideo;
93
99- (MobileRTCSDKError)muteMyVideo:(BOOL)mute;
100
105- (BOOL)rotateMyVideo:(UIDeviceOrientation)rotation;
106
112- (BOOL)isUserSpotlighted:(NSUInteger)userId;
113
121- (BOOL)spotlightVideo:(BOOL)on withUser:(NSUInteger)userId;
122
128- (BOOL)unSpotlightAllVideos;
129
134- (NSArray <NSNumber *>* _Nullable)getSpotLightedVideoUserList;
135
142- (BOOL)isUserPinned:(NSUInteger)userId;
143
151- (BOOL)pinVideo:(BOOL)on withUser:(NSUInteger)userId;
152
158- (BOOL)isUserVideoSending:(NSUInteger)userID;
159
166- (BOOL)stopUserVideo:(NSUInteger)userID;
167
174- (BOOL)askUserStartVideo:(NSUInteger)userID;
175
181- (CGSize)getUserVideoSize:(NSUInteger)userID;
182
183#pragma mark Camera Related
188- (BOOL)isBackCamera;
189
194- (MobileRTCCameraError)switchMyCamera;
195
201- (NSArray <MobileRTCCameraDevice *>* _Nullable)getCameraDeviceList;
202
208- (BOOL)switchCamera:(NSString * _Nullable)cameraId;
209
214- (MobileRTCCameraDevice * _Nullable)getSelectedCamera;
215
221- (BOOL)zoomCamera:(CGFloat)velocity;
222
229- (MobileRTCSDKError)setVideoQualityPreference:(MobileRTCVideoPreferenceSetting * _Nullable)preferenceSetting;
230
235- (BOOL)isSupportFollowHostVideoOrder;
236
241- (BOOL)isFollowHostVideoOrderOn;
242
247- (NSArray <NSNumber *>* _Nullable)getVideoOrderList;
248
254- (MobileRTCSDKError)stopIncomingVideo:(BOOL)enable;
255
260- (BOOL)isIncomingVideoStoped;
261
266- (BOOL)isStopIncomingVideoSupported;
267
274- (MobileRTCSDKError)enableVideoAutoFraming:(MobileRTCAutoFramingParameter * _Nullable)setting forMode:(MobileRTCAutoFramingMode)mode;
275
280- (MobileRTCSDKError)disableVideoAutoFraming;
281
286- (BOOL)isVideoAutoFramingEnabled;
287
292- (MobileRTCAutoFramingMode)getVideoAutoFramingMode;
293
299- (MobileRTCSDKError)setVideoAutoFramingMode:(MobileRTCAutoFramingMode)mode;
300
307- (MobileRTCSDKError)setVideoAutoFramingRatio:(CGFloat)ratio;
308
314- (MobileRTCSDKError)setFaceRecognitionFailStrategy:(MobileRTCFaceRecognitionFailStrategy)strategy;
315
321- (MobileRTCAutoFramingParameter * _Nullable)getVideoAutoFramingSetting:(MobileRTCAutoFramingMode)mode;
322
328- (BOOL)canEnableAlphaChannelMode;
329
338- (MobileRTCSDKError)enableAlphaChannelMode:(BOOL)enable;
339
344- (BOOL)isAlphaChannelModeEnabled;
345
346@end
MobileRTCFaceRecognitionFailStrategy
Enumeration of face recognition failure strategies.
MobileRTCVideoPreferenceMode
Enumeration of video preference modes.
MobileRTCSDKError
Enumeration of SDK error.
MobileRTCCameraError
Enumeration of camera-related operational error states.
MobileRTCAutoFramingMode
Enumeration of auto framing modes in video.
NSUInteger minimumFrameRate
Minimum frame rate, default is 0, minimumFrameRate should be less than maximumFrameRate.
MobileRTCVideoPreferenceMode mode
Preferred video mode.
NSUInteger maximumFrameRate
Maximum frame rate, default is 0, , maximumFrameRate should be less or equal than 30.