Package im.zego.zegoexpress.entity
Class ZegoMixerOutputVideoConfig
- java.lang.Object
-
- im.zego.zegoexpress.entity.ZegoMixerOutputVideoConfig
-
public class ZegoMixerOutputVideoConfig extends java.lang.Object
Mix stream output video config object. Description: Configure the video parameters, coding format and bitrate of mix stream output. Use cases: Manual mixed stream scenario, such as Co-hosting.
-
-
Field Summary
Fields Modifier and Type Field Description int
bitrate
Mix stream output video bitrate in kbps.boolean
enableLowBitrateHD
Enable high definition low bitrate.int
encodeLatency
The video encoding delay of mixed stream output, Valid value range [0, 2000], in milliseconds.ZegoEncodeProfile
encodeProfile
Mix stream video encode profile.ZegoVideoCodecID
videoCodecID
Mix stream output video coding format, supporting H.264 and h.265 coding.
-
Constructor Summary
Constructors Constructor Description ZegoMixerOutputVideoConfig()
ZegoMixerOutputVideoConfig(ZegoVideoCodecID codecID, int bitrate)
ZegoMixerOutputVideoConfig(ZegoVideoCodecID codecID, int bitrate, ZegoEncodeProfile profile, int encodeLatency)
ZegoMixerOutputVideoConfig(ZegoVideoCodecID codecID, int bitrate, ZegoEncodeProfile profile, int encodeLatency, boolean enableLowBitrateHD)
-
-
-
Field Detail
-
videoCodecID
public ZegoVideoCodecID videoCodecID
Mix stream output video coding format, supporting H.264 and h.265 coding.
-
bitrate
public int bitrate
Mix stream output video bitrate in kbps. The default value is the bitrate configured in [ZegoMixerVideoConfig].
-
encodeProfile
public ZegoEncodeProfile encodeProfile
Mix stream video encode profile. Default value is [ZegoEncodeProfileDefault].
-
encodeLatency
public int encodeLatency
The video encoding delay of mixed stream output, Valid value range [0, 2000], in milliseconds. The default value is 0.
-
enableLowBitrateHD
public boolean enableLowBitrateHD
Enable high definition low bitrate. Default is false.
-
-
Constructor Detail
-
ZegoMixerOutputVideoConfig
public ZegoMixerOutputVideoConfig()
-
ZegoMixerOutputVideoConfig
public ZegoMixerOutputVideoConfig(ZegoVideoCodecID codecID, int bitrate)
-
ZegoMixerOutputVideoConfig
public ZegoMixerOutputVideoConfig(ZegoVideoCodecID codecID, int bitrate, ZegoEncodeProfile profile, int encodeLatency)
-
ZegoMixerOutputVideoConfig
public ZegoMixerOutputVideoConfig(ZegoVideoCodecID codecID, int bitrate, ZegoEncodeProfile profile, int encodeLatency, boolean enableLowBitrateHD)
-
-