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 
78 @property (nonatomic) SKWCameraModeEnum cameraMode SKYWAY_API_DEPRECATED;
79 
80 // Mandatory
81 
85 @property (nonatomic) NSUInteger maxWidth;
86 
90 @property (nonatomic) NSUInteger minWidth;
91 
95 @property (nonatomic) NSUInteger maxHeight;
96 
100 @property (nonatomic) NSUInteger minHeight;
101 
105 @property (nonatomic) NSUInteger maxFrameRate;
106 
110 @property (nonatomic) NSUInteger minFrameRate;
111 
112 // Optional
113 
114 @end
SKW_CAMERA_POSITION_UNSPECIFIED
@ SKW_CAMERA_POSITION_UNSPECIFIED
Unspecified.
Definition: SKWMediaConstraints.h:20
SKWMediaConstraints::minFrameRate
NSUInteger minFrameRate
Minimum frame rate.
Definition: SKWMediaConstraints.h:110
SKW_CAMERA_MODE_SWITCHABLE
@ SKW_CAMERA_MODE_SWITCHABLE
Camera Switchable.
Definition: SKWMediaConstraints.h:39
SKWMediaConstraints::minHeight
NSUInteger minHeight
Minimum height pixel.
Definition: SKWMediaConstraints.h:100
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
Minimum width pixel.
Definition: SKWMediaConstraints.h:90
SKWMediaConstraints::cameraMode
SKWCameraModeEnum cameraMode
Using camera mode.
Definition: SKWMediaConstraints.h:78
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:95
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:105
SKWMediaConstraints::maxWidth
NSUInteger maxWidth
Maximum width pixel.
Definition: SKWMediaConstraints.h:85