AEPConfig
@interface AEPConfig : NSObject
工程配置
-
两个I帧之间的间隔,GOP大小
Declaration
Objective-C
@property (nonatomic, readonly) int GOP;
-
视频质量
Declaration
Objective-C
@property (nonatomic, readonly) AliyunVideoQuality videoQuality;
-
码率
单位bps 建议: 480P:1000000-2000000 540P:2000000-3000000 720P:2000000-4000000 1080:2000000-6000000 设置bitrate参数后,videoQuality设置无效
Declaration
Objective-C
@property (nonatomic, readonly) int bitrate;
-
帧率
默认25 建议20 - 60 不超过60
Declaration
Objective-C
@property (nonatomic, readonly) int FPS;
-
视频质量因子 默认值:23
Declaration
Objective-C
@property (nonatomic, readonly) int CRF;
-
编码类型
Declaration
Objective-C
@property (nonatomic, readonly) AliyunVideoCodecType videoCodec;
-
音频声道数
Declaration
Objective-C
@property (nonatomic, readonly) AliyunAudioChannelType audioChannel;
-
音频采样率
Declaration
Objective-C
@property (nonatomic, readonly) AliyunAudioSampleRate audioSampleRate;
-
缩放比 默认值:1.0
Declaration
Objective-C
@property (nonatomic, readonly) float scale;
-
输出分辨率
Declaration
Objective-C
@property (nonatomic, readonly) CGSize outputResolution;
-
是否静音
Declaration
Objective-C
@property (nonatomic, readonly) BOOL mute;
-
音量
Declaration
Objective-C
@property (nonatomic, readonly) int volume;
-
背景颜色
Declaration
Objective-C
@property (nonatomic, strong, readonly) UIColor *backgroundColor
-
裁剪模式
- AliyunScaleModeFit: 裁剪
- AliyunScaleModeFill: 填充
Declaration
Objective-C
@property (nonatomic, readonly) AliyunScaleMode displayMode;
-
Deprecated
please use outputResolution
视频输出宽度
Declaration
Objective-C
@property (nonatomic, readonly) int outputWidth;
-
Deprecated
please use outputResolution
视频输出高度
Declaration
Objective-C
@property (nonatomic, readonly) int outputHeight;