STSVideoConfiguration
@interface STSVideoConfiguration : NSObject
A STSVideoConfiguration object defines the video configuration of a STSLiveStreamer object.
-
The output video resolution. Defaults to CGSizeZero. The width and height should both be even and the maximum resolution is 1080p.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) CGSize videoSize;
Swift
var videoSize: CGSize { get set }
-
The output frame rate. Defaults to 30. The value must be between 1 and 60.
Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite) NSUInteger frameRate;
Swift
var frameRate: UInt { get set }