TVIVideoConstraintsBuilder Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TVIVideoConstraints.h |
Overview
TVIVideoConstraintsBuilder is a video constraints object builder.
You can pass video constraints to the builder using TVIVideoConstraints’s class method
constraintsWithBlock:. The builder will build video constraints object using the constraints you
passed in the builder block.
maxSize
Specifies the maximum size for your video in native input coordinates (think landscape for
TVICameraCapturer).
@property (nonatomic, assign) CMVideoDimensions maxSizeDiscussion
Each dimension must be divisible by 8.
Declared In
TVIVideoConstraints.h
minSize
Specifies the minimum size for your video in native input coordinates.
@property (nonatomic, assign) CMVideoDimensions minSizeDiscussion
Defaults to {0,0}, which indicates no minimum video size.
Set this property if you wish to choose a size within the range of minSize and maxSize.
Declared In
TVIVideoConstraints.h
maxFrameRate
Specifies the maximum frame rate of your video (frames per second).
@property (nonatomic, assign) NSUInteger maxFrameRateDiscussion
Frame rates are capped at TVIVideoConstraintsMaximumFPS.
Declared In
TVIVideoConstraints.h
minFrameRate
Specifies the minimum frame rate of your video (frames per second).
@property (nonatomic, assign) NSUInteger minFrameRateDiscussion
Defaults to no minimum value.
Declared In
TVIVideoConstraints.h
aspectRatio
Specifies the aspect ratio of your video.
@property (nonatomic, assign) TVIAspectRatio aspectRatioDeclared In
TVIVideoConstraints.h