ZegoMixerVideoConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | ZegoExpressDefines.h |
fps
Video FPS, cannot be modified after starting a mixer task
@property (nonatomic, assign) int fps
Declared In
ZegoExpressDefines.h
bitrate
Video bitrate in kbps
@property (nonatomic, assign) int bitrate
Declared In
ZegoExpressDefines.h
quality
Video quality, this value is valid when the video rate control mode parameter is set to constant quality. The valid value ranges from 0 to 51. The default value is 23. If you want better video quality, lower the quality value based on 23 to test the adjustment. If you want a smaller file size, test the adjustment by increasing the high quality value at the base of 23. Take the file size under the value x as an example. The file size under the value x + 6 is half the size of the file size under the value x, and the file size under the value x-6 is twice the size of the file size under the value x. On web platforms, this property does not take effect.
@property (nonatomic, assign) int quality
Declared In
ZegoExpressDefines.h
rateControlMode
Video bitrate control mode. On web platforms, this property does not take effect.
@property (nonatomic, assign) ZegoVideoRateControlMode rateControlMode
Declared In
ZegoExpressDefines.h
resolution
video resolution
@property (nonatomic, assign) CGSize resolution
Declared In
ZegoExpressDefines.h
+ configWithResolution:fps:bitrate:
ZegoMixerVideoConfig instance
+ (instancetype)configWithResolution:(CGSize)resolution fps:(int)fps bitrate:(int)bitrate
Return Value
ZegoMixerVideoConfig instance
Declared In
ZegoExpressDefines.h
– initWithResolution:fps:bitrate:
ZegoMixerVideoConfig instance
- (instancetype)initWithResolution:(CGSize)resolution fps:(int)fps bitrate:(int)bitrate
Return Value
ZegoMixerVideoConfig instance
Declared In
ZegoExpressDefines.h