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
 Using camera mode. More...
 
NSUInteger maxWidth
 Maximum width pixel. More...
 
NSUInteger minWidth
 Minimum width pixel. More...
 
NSUInteger maxHeight
 Maximum height pixel. More...
 
NSUInteger minHeight
 Minimum height pixel. More...
 
NSUInteger maxFrameRate
 Maximum frame rate. More...
 
NSUInteger minFrameRate
 Minimum frame rate. More...
 

Detailed Description

Media constraints class.

Property Documentation

◆ audioFlag

- (BOOL) audioFlag
readwritenonatomicassign

Using audio track.

Default value is YES.

◆ cameraMode

- (SKWCameraModeEnum) cameraMode
readwritenonatomicassign

Using camera mode.

Default value is SKW_CAMERA_MODE_SWITCHABLE.

Deprecated:

◆ cameraPosition

- (SKWCameraPositionEnum) cameraPosition
readwritenonatomicassign

Using camera position.

Default value is SKW_CAMERA_POSITION_FRONT.

◆ maxFrameRate

- (NSUInteger) maxFrameRate
readwritenonatomicassign

Maximum frame rate.

0 is Engine default. Default value is 10.

◆ maxHeight

- (NSUInteger) maxHeight
readwritenonatomicassign

Maximum height pixel.

0 is Engine default. Default value is 640.

◆ maxWidth

- (NSUInteger) maxWidth
readwritenonatomicassign

Maximum width pixel.

0 is Engine default. Default value is 640.

◆ minFrameRate

- (NSUInteger) minFrameRate
readwritenonatomicassign

Minimum frame rate.

0 is Engine default. Default value is 2.

◆ minHeight

- (NSUInteger) minHeight
readwritenonatomicassign

Minimum height pixel.

0 is Engine default. Default value is 144.

◆ minWidth

- (NSUInteger) minWidth
readwritenonatomicassign

Minimum width pixel.

0 is Engine default. Default value is 192.

◆ videoFlag

- (BOOL) videoFlag
readwritenonatomicassign

Using video track.

Default value is YES.