iOS SDK API Reference

Properties | List of all members
SKWMediaConstraints Class Reference

Media constraints class. More...

#import <SKWMediaConstraints.h>

Inheritance diagram for SKWMediaConstraints:

Properties

BOOL videoFlag
 Using video track. More...
 
BOOL audioFlag
 Using audio track. More...
 
SKWCameraPositionEnum cameraPosition
 Using camera position. More...
 
SKWCameraModeEnum cameraMode
 (deprecated) More...
 
NSUInteger maxWidth
 Maximum width pixel. More...
 
NSUInteger minWidth
 (deprecated) More...
 
NSUInteger maxHeight
 Maximum height pixel. More...
 
NSUInteger minHeight
 (deprecated) More...
 
NSUInteger maxFrameRate
 Maximum frame rate. More...
 
NSUInteger minFrameRate
 (deprecated) More...
 

Detailed Description

Media constraints class.

Property Documentation

◆ audioFlag

- (BOOL) audioFlag
readwritenonatomicassign

Using audio track.

Default value is YES.

◆ cameraMode

- (SKWCameraModeEnum) cameraMode
readwritenonatomicassign

(deprecated)

Deprecated:
This property is now deprecated.

Using camera mode. Default value is SKW_CAMERA_MODE_SWITCHABLE.

◆ cameraPosition

- (SKWCameraPositionEnum) cameraPosition
readwritenonatomicassign

Using camera position.

Default value is SKW_CAMERA_POSITION_FRONT.

◆ maxFrameRate

- (NSUInteger) maxFrameRate
readwritenonatomicassign

Maximum frame rate.

2 to 30 can be set. 0 is Engine default. Default value is 10.
*Based on the specified value, the best frame rate range will be selected from the available frame rate range for the device.

◆ maxHeight

- (NSUInteger) maxHeight
readwritenonatomicassign

Maximum height pixel.

0 is Engine default. Default value is 640.
*Based on the specified value, the best size will be selected from among the sizes available for the device.

◆ maxWidth

- (NSUInteger) maxWidth
readwritenonatomicassign

Maximum width pixel.

0 is Engine default. Default value is 640.
*Based on the specified value, the best size will be selected from among the sizes available for the device.

◆ minFrameRate

- (NSUInteger) minFrameRate
readwritenonatomicassign

(deprecated)

Deprecated:
This property is not currently in use.

◆ minHeight

- (NSUInteger) minHeight
readwritenonatomicassign

(deprecated)

Deprecated:
This property is not currently in use.

◆ minWidth

- (NSUInteger) minWidth
readwritenonatomicassign

(deprecated)

Deprecated:
This property is not currently in use.

◆ videoFlag

- (BOOL) videoFlag
readwritenonatomicassign

Using video track.

Default value is YES.