Meeting SDK for iOS API Reference
Loading...
Searching...
No Matches
MobileRTCMeetingService+Video.h
Go to the documentation of this file.
1
6#import <MobileRTC/MobileRTC.h>
7#import <AVFoundation/AVFoundation.h>
8
21@property (nonatomic, assign) MobileRTCVideoPreferenceMode mode;
22
27@property (nonatomic, assign) NSUInteger minimumFrameRate;
28
33@property (nonatomic, assign) NSUInteger maximumFrameRate;
34
35@end
36
41@interface MobileRTCCameraDevice : NSObject
45@property (nonatomic, readonly, nullable, copy) NSString* deviceId;
49@property (nonatomic, readonly, nullable, copy) NSString* deviceName;
53@property (nonatomic, readonly, assign) BOOL isSelectDevice;
57@property (nonatomic, readonly, assign) AVCaptureDevicePosition position;
61@property (nonatomic, readonly, nullable, copy) AVCaptureDeviceType deviceType;
65@property (nonatomic, readonly, assign) CGFloat maxZoomFactor;
69@property (nonatomic, readonly, assign) CGFloat videoZoomFactorUpscaleThreshold;
70
71@end
72
73
77@interface MobileRTCMeetingService (Video)
78
83- (BOOL)isSendingMyVideo;
84
89- (BOOL)canUnmuteMyVideo;
90
96- (MobileRTCSDKError)muteMyVideo:(BOOL)mute;
97
102- (BOOL)rotateMyVideo:(UIDeviceOrientation)rotation;
103
109- (BOOL)isUserSpotlighted:(NSUInteger)userId;
110
118- (BOOL)spotlightVideo:(BOOL)on withUser:(NSUInteger)userId;
119
125- (BOOL)unSpotlightAllVideos;
126
131- (NSArray <NSNumber *>* _Nullable)getSpotLightedVideoUserList;
132
139- (BOOL)isUserPinned:(NSUInteger)userId;
140
146-(MobileRTCPinResult)canPinVideo:(NSUInteger)userId;
147
155- (BOOL)pinVideo:(BOOL)on withUser:(NSUInteger)userId;
156
162- (BOOL)isUserVideoSending:(NSUInteger)userID;
163
170- (BOOL)stopUserVideo:(NSUInteger)userID;
171
178- (BOOL)askUserStartVideo:(NSUInteger)userID;
179
185- (CGSize)getUserVideoSize:(NSUInteger)userID;
186
187#pragma mark Camera Related
192- (BOOL)isBackCamera;
193
198- (MobileRTCCameraError)switchMyCamera;
199
205- (NSArray <MobileRTCCameraDevice *>* _Nullable)getCameraDeviceList;
206
212- (BOOL)switchCamera:(NSString * _Nullable)cameraId;
213
218- (MobileRTCCameraDevice * _Nullable)getSelectedCamera;
219
225- (BOOL)zoomCamera:(CGFloat)velocity;
226
233- (MobileRTCSDKError)setVideoQualityPreference:(MobileRTCVideoPreferenceSetting * _Nullable)preferenceSetting;
234
239- (BOOL)isSupportFollowHostVideoOrder;
240
245- (BOOL)isFollowHostVideoOrderOn;
246
251- (NSArray <NSNumber *>* _Nullable)getVideoOrderList;
252
258- (MobileRTCSDKError)stopIncomingVideo:(BOOL)enable;
259
264- (BOOL)isIncomingVideoStoped;
265
270- (BOOL)isStopIncomingVideoSupported;
271
278- (MobileRTCSDKError)enableVideoAutoFraming:(MobileRTCAutoFramingParameter * _Nullable)setting forMode:(MobileRTCAutoFramingMode)mode;
279
284- (MobileRTCSDKError)disableVideoAutoFraming;
285
290- (BOOL)isVideoAutoFramingEnabled;
291
296- (MobileRTCAutoFramingMode)getVideoAutoFramingMode;
297
303- (MobileRTCSDKError)setVideoAutoFramingMode:(MobileRTCAutoFramingMode)mode;
304
311- (MobileRTCSDKError)setVideoAutoFramingRatio:(CGFloat)ratio;
312
318- (MobileRTCSDKError)setFaceRecognitionFailStrategy:(MobileRTCFaceRecognitionFailStrategy)strategy;
319
325- (MobileRTCAutoFramingParameter * _Nullable)getVideoAutoFramingSetting:(MobileRTCAutoFramingMode)mode;
326
332- (BOOL)canEnableAlphaChannelMode;
333
342- (MobileRTCSDKError)enableAlphaChannelMode:(BOOL)enable;
343
348- (BOOL)isAlphaChannelModeEnabled;
349
350@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.
MobileRTCPinResult
Enumeration of possible results for pinning a user.
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.