ZegoVideoConfig

视频配置

Declared in ZegoExpressDefines.h

Includes

Property Lists

Public Static Func Lists

Public Func Lists

Property Docs

captureResolution

采集分辨率

encodeResolution

编码分辨率

fps

帧率

bitrate

码率,单位为 kbps

codecID

要使用的编码器

Public Static Func Docs

defaultConfig

+ (instancetype)defaultConfig:;

创建默认视频配置

configWithPreset:

+ (instancetype)configWithPreset:(ZegoVideoConfigPreset) preset;

通过预设枚举值创建视频配置

configWithResolution:

+ (instancetype)configWithResolution:(ZegoResolution) DEPRECATED_ATTRIBUTE;

该接口已废弃

Public Func Docs

initWithPreset:

- (instancetype)initWithPreset:(ZegoVideoConfigPreset) preset;

通过预设枚举值创建视频配置

initWithResolution:

- (instancetype)initWithResolution:(ZegoResolution) DEPRECATED_ATTRIBUTE;

该接口已废弃