TuSDKVideoQuality Class Reference
Inherits from | NSObject |
---|---|
Declared in | TuSDKVideoQuality.h |
lsqEncodeVideoFrameRate
视频的帧率 注:仅影响视频编码时的内部设置,若设置录制的帧率,请通过 camera.frameRate 进行设置
@property (nonatomic, assign) int32_t lsqEncodeVideoFrameRate
Declared In
TuSDKVideoQuality.h
lsqVideoBitRate
视频的码率,单位是bps
@property (nonatomic, assign) NSUInteger lsqVideoBitRate
Declared In
TuSDKVideoQuality.h
lsqVideoProfileLevel
编码时使用的压缩等级。默认情况下使用 AVVideoProfileLevelH264Main41,如果对于视频编码有额外的需求并且知晓该参数带来的影响可以自行更改
@property (nonatomic, copy) NSString *lsqVideoProfileLevel
Declared In
TuSDKVideoQuality.h
+ defaultQuality
默认视频配置
+ (instancetype)defaultQuality
Return Value
默认配置
Declared In
TuSDKVideoQuality.h
+ makeQualityWith:
根据视频画质枚举设置画质参数
+ (instancetype)makeQualityWith:(TuSDKRecordVideoQuality)videoQuality
Parameters
videoQuality |
画质枚举 |
---|
Return Value
定义的画质对象
Declared In
TuSDKVideoQuality.h