iOS SDK API Reference

SKWMediaConstraints.h
Go to the documentation of this file.
1 // SKWMediaConstraints.h
3 // SkyWay SDK
5 #import <Foundation/Foundation.h>
6 #import "SKWCommon.h"
7 
12 typedef NS_ENUM(NSUInteger, SKWCameraPositionEnum)
16 {
29 };
30 
34 typedef NS_ENUM(NSUInteger, SKWCameraModeEnum)
35 {
44 } SKYWAY_API_DEPRECATED;
45 
49 @interface SKWMediaConstraints : NSObject < NSCopying >
50 
58 @property (nonatomic) BOOL videoFlag;
59 
67 @property (nonatomic) BOOL audioFlag;
68 
72 @property (nonatomic) SKWCameraPositionEnum cameraPosition;
73 
87 @property (nonatomic) SKWCameraModeEnum cameraMode SKYWAY_API_DEPRECATED;
88 
89 // Mandatory
90 
96 @property (nonatomic) NSUInteger maxWidth;
97 
107 @property (nonatomic) NSUInteger minWidth;
108 
114 @property (nonatomic) NSUInteger maxHeight;
115 
125 @property (nonatomic) NSUInteger minHeight;
126 
132 @property (nonatomic) NSUInteger maxFrameRate;
133 
143 @property (nonatomic) NSUInteger minFrameRate;
144 
145 // Optional
146 
147 @end
SKW_CAMERA_POSITION_UNSPECIFIED
@ SKW_CAMERA_POSITION_UNSPECIFIED
Unspecified.
Definition: SKWMediaConstraints.h:20
SKWMediaConstraints::minFrameRate
NSUInteger minFrameRate
(deprecated)
Definition: SKWMediaConstraints.h:143
SKW_CAMERA_MODE_SWITCHABLE
@ SKW_CAMERA_MODE_SWITCHABLE
Camera Switchable.
Definition: SKWMediaConstraints.h:39
SKWMediaConstraints::minHeight
NSUInteger minHeight
(deprecated)
Definition: SKWMediaConstraints.h:125
SKWMediaConstraints::videoFlag
BOOL videoFlag
Using video track.
Definition: SKWMediaConstraints.h:58
SKWMediaConstraints
Media constraints class.
Definition: SKWMediaConstraints.h:49
SKWMediaConstraints::audioFlag
BOOL audioFlag
Using audio track.
Definition: SKWMediaConstraints.h:67
SKWMediaConstraints::minWidth
NSUInteger minWidth
(deprecated)
Definition: SKWMediaConstraints.h:107
SKWMediaConstraints::cameraMode
SKWCameraModeEnum cameraMode
(deprecated)
Definition: SKWMediaConstraints.h:87
SKW_CAMERA_MODE_ADJUSTABLE
@ SKW_CAMERA_MODE_ADJUSTABLE
Width/Height Adjustable.
Definition: SKWMediaConstraints.h:43
SKW_CAMERA_POSITION_FRONT
@ SKW_CAMERA_POSITION_FRONT
Front camera.
Definition: SKWMediaConstraints.h:28
SKWMediaConstraints::maxHeight
NSUInteger maxHeight
Maximum height pixel.
Definition: SKWMediaConstraints.h:114
SKW_CAMERA_POSITION_BACK
@ SKW_CAMERA_POSITION_BACK
Back camera.
Definition: SKWMediaConstraints.h:24
SKWCameraPositionEnum
SKWCameraPositionEnum
Device camera position.
Definition: SKWMediaConstraints.h:15
SKWCameraModeEnum
SKWCameraModeEnum
Device camera mode.
Definition: SKWMediaConstraints.h:34
SKWMediaConstraints::cameraPosition
SKWCameraPositionEnum cameraPosition
Using camera position.
Definition: SKWMediaConstraints.h:72
SKWMediaConstraints::maxFrameRate
NSUInteger maxFrameRate
Maximum frame rate.
Definition: SKWMediaConstraints.h:132
SKWMediaConstraints::maxWidth
NSUInteger maxWidth
Maximum width pixel.
Definition: SKWMediaConstraints.h:96