6#import <MobileRTC/MobileRTC.h>
7#import <AVFoundation/AVFoundation.h>
45@property (nonatomic, readonly, nullable, copy) NSString*
deviceId;
49@property (nonatomic, readonly, nullable, copy) NSString*
deviceName;
57@property (nonatomic, readonly, assign) AVCaptureDevicePosition
position;
61@property (nonatomic, readonly, nullable, copy) AVCaptureDeviceType
deviceType;
77@interface MobileRTCMeetingService (Video)
103- (BOOL)rotateMyVideo:(UIDeviceOrientation)rotation;
110- (BOOL)isUserSpotlighted:(NSUInteger)userId;
119- (BOOL)spotlightVideo:(BOOL)on withUser:(NSUInteger)userId;
140- (BOOL)isUserPinned:(NSUInteger)userId;
156- (BOOL)pinVideo:(BOOL)on withUser:(NSUInteger)userId;
163- (BOOL)isUserVideoSending:(NSUInteger)userID;
171- (BOOL)stopUserVideo:(NSUInteger)userID;
179- (BOOL)askUserStartVideo:(NSUInteger)userID;
186- (CGSize)getUserVideoSize:(NSUInteger)userID;
188#pragma mark Camera Related
213- (BOOL)switchCamera:(NSString * _Nullable)cameraId;
227- (BOOL)zoomCamera:(CGFloat)velocity;
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.
BOOL isFollowHostVideoOrderOn()
Queries if follow host video order is currently on.
MobileRTCAutoFramingMode getVideoAutoFramingMode()
Gets the current mode of auto-framing.
BOOL unSpotlightAllVideos()
Un-spotlights all users.
BOOL isSupportFollowHostVideoOrder()
Queries if the account supports follow host video order feature.
NSArray< MobileRTCCameraDevice * > *_Nullable getCameraDeviceList()
Gets the camera device list.
MobileRTCCameraError switchMyCamera()
Switches the camera of the current user in the local device.
BOOL isAlphaChannelModeEnabled()
Determines if alpha channel mode is enabled.
BOOL isStopIncomingVideoSupported()
Determines if the incoming video is supported.
NSArray< NSNumber * > *_Nullable getSpotLightedVideoUserList()
Gets the spotlight user list.
MobileRTCCameraDevice *_Nullable getSelectedCamera()
Gets the current camera device in use.
BOOL canEnableAlphaChannelMode()
Determines if alpha channel mode can be enabled.
NSArray< NSNumber * > *_Nullable getVideoOrderList()
Gets the follow host video order array currently.
BOOL isVideoAutoFramingEnabled()
Determines whether auto-framing is enabled.
BOOL canUnmuteMyVideo()
Queries if the user can unmute their video themselves.
BOOL isSendingMyVideo()
Queries if the user is sending video.
BOOL isIncomingVideoStoped()
Determines if the incoming video is stopped.
BOOL isBackCamera()
Queries if the user is using back camera.
MobileRTCSDKError disableVideoAutoFraming()
Stops video auto-framing.
A class that contains auto-framing parameters.
NSString * deviceId
Camera device ID.
AVCaptureDevicePosition position
Camera position.
CGFloat maxZoomFactor
Camera maximum zoom factor. Maximum supported is 10.
BOOL isSelectDevice
Is current use.
NSString * deviceName
Camera name.
AVCaptureDeviceType deviceType
Camera device type.
CGFloat videoZoomFactorUpscaleThreshold
The maximum optical zoom factor.
Video Preference Setting.
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.