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
103- (BOOL)rotateMyVideo:(UIDeviceOrientation)rotation;
104
110- (BOOL)isUserSpotlighted:(NSUInteger)userId;
111
119- (BOOL)spotlightVideo:(BOOL)on withUser:(NSUInteger)userId;
120
126- (BOOL)unSpotlightAllVideos;
127
132- (NSArray <NSNumber *>* _Nullable)getSpotLightedVideoUserList;
133
140- (BOOL)isUserPinned:(NSUInteger)userId;
141
147-(MobileRTCPinResult)canPinVideo:(NSUInteger)userId;
148
156- (BOOL)pinVideo:(BOOL)on withUser:(NSUInteger)userId;
157
163- (BOOL)isUserVideoSending:(NSUInteger)userID;
164
171- (BOOL)stopUserVideo:(NSUInteger)userID;
172
179- (BOOL)askUserStartVideo:(NSUInteger)userID;
180
186- (CGSize)getUserVideoSize:(NSUInteger)userID;
187
188#pragma mark Camera Related
193- (BOOL)isBackCamera;
194
199- (MobileRTCCameraError)switchMyCamera;
200
206- (NSArray <MobileRTCCameraDevice *>* _Nullable)getCameraDeviceList;
207
213- (BOOL)switchCamera:(NSString * _Nullable)cameraId;
214
219- (MobileRTCCameraDevice * _Nullable)getSelectedCamera;
220
227- (BOOL)zoomCamera:(CGFloat)velocity;
228
235- (MobileRTCSDKError)setVideoQualityPreference:(MobileRTCVideoPreferenceSetting * _Nullable)preferenceSetting;
236
241- (BOOL)isSupportFollowHostVideoOrder;
242
247- (BOOL)isFollowHostVideoOrderOn;
248
253- (NSArray <NSNumber *>* _Nullable)getVideoOrderList;
254
260- (MobileRTCSDKError)stopIncomingVideo:(BOOL)enable;
261
266- (BOOL)isIncomingVideoStoped;
267
272- (BOOL)isStopIncomingVideoSupported;
273
280- (MobileRTCSDKError)enableVideoAutoFraming:(MobileRTCAutoFramingParameter * _Nullable)setting forMode:(MobileRTCAutoFramingMode)mode;
281
286- (MobileRTCSDKError)disableVideoAutoFraming;
287
292- (BOOL)isVideoAutoFramingEnabled;
293
298- (MobileRTCAutoFramingMode)getVideoAutoFramingMode;
299
305- (MobileRTCSDKError)setVideoAutoFramingMode:(MobileRTCAutoFramingMode)mode;
306
312- (MobileRTCSDKError)setVideoAutoFramingRatio:(CGFloat)ratio;
313
319- (MobileRTCSDKError)setFaceRecognitionFailStrategy:(MobileRTCFaceRecognitionFailStrategy)strategy;
320
326- (MobileRTCAutoFramingParameter * _Nullable)getVideoAutoFramingSetting:(MobileRTCAutoFramingMode)mode;
327
333- (BOOL)canEnableAlphaChannelMode;
334
343- (MobileRTCSDKError)enableAlphaChannelMode:(BOOL)enable;
344
349- (BOOL)isAlphaChannelModeEnabled;
350
351@end
MobileRTCFaceRecognitionFailStrategy
Enumeration of the face recognition failure strategies.
MobileRTCVideoPreferenceMode
Enumeration of the video preference modes.
MobileRTCSDKError
Enumeration of the SDK error.
MobileRTCCameraError
Enumeration of camera-related operational error states.
MobileRTCPinResult
Enumeration of possible results for pinning a user.
MobileRTCAutoFramingMode
Enumeration of the auto framing modes in video.
A class that contains auto-framing parameters.
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.