ZegoMixerOutputVideoConfig Class Reference
Inherits from | NSObject |
---|---|
Declared in | ZegoExpressDefines.h |
Overview
Description: Configure the video parameters, coding format and bitrate of mix stream output. Use cases: Manual mixed stream scenario, such as Co-hosting.
videoCodecID
Mix stream output video coding format, supporting H.264 and h.265 coding.
@property (nonatomic, assign) ZegoVideoCodecID videoCodecID
Declared In
ZegoExpressDefines.h
bitrate
Mix stream output video bitrate in kbps. The default value is the bitrate configured in [ZegoMixerVideoConfig].
@property (nonatomic, assign) int bitrate
Declared In
ZegoExpressDefines.h
encodeProfile
Mix stream video encode profile. Default value is [ZegoEncodeProfileDefault].
@property (nonatomic, assign) ZegoEncodeProfile encodeProfile
Declared In
ZegoExpressDefines.h
encodeLatency
The video encoding delay of mixed stream output, Valid value range [0, 2000], in milliseconds. The default value is 0.
@property (nonatomic, assign) int encodeLatency
Declared In
ZegoExpressDefines.h
enableLowBitrateHD
Enable high definition low bitrate. Default is false.
@property BOOL enableLowBitrateHD
Declared In
ZegoExpressDefines.h
– configWithCodecID:bitrate:
Set mix steram output video configuration.
- (void)configWithCodecID:(ZegoVideoCodecID)codecID bitrate:(int)bitrate
Declared In
ZegoExpressDefines.h
– configWithCodecID:bitrate:encodeProfile:encodeLatency:
Set mix steram output video configuration.
- (void)configWithCodecID:(ZegoVideoCodecID)codecID bitrate:(int)bitrate encodeProfile:(ZegoEncodeProfile)profile encodeLatency:(int)latency
Declared In
ZegoExpressDefines.h
– configWithCodecID:bitrate:encodeProfile:encodeLatency:enableLowBitrateHD:
Set mix steram output video configuration.
- (void)configWithCodecID:(ZegoVideoCodecID)codecID bitrate:(int)bitrate encodeProfile:(ZegoEncodeProfile)profile encodeLatency:(int)latency enableLowBitrateHD:(BOOL)enableLowBitrateHD
Declared In
ZegoExpressDefines.h