ZegoMixerOutput
ZegoMixerOutput
Mixer output object, currently, a mixed-stream task only supports a maximum of four video streams with different resolutions.
Details
Configure mix stream output target URL or stream ID
Declared in entity/ZegoMixerOutput.java
Properties
target
target
public String targetMix stream output target, URL or stream ID, if set to be URL format, only RTMP URL surpported, for example rtmp://xxxxxxxx, addresses with two identical mixed-stream outputs cannot be passed in.
videoConfig
videoConfig
public ZegoMixerOutputVideoConfig videoConfigMix stream output video config. On web platforms, this property does not take effect.
targetRoom
targetRoom
public ZegoMixerOutputRoomInfo targetRoomSpecifies the room information for the output stream.
Methods
ZegoMixerOutput
setVideoConfig
setVideoConfig
public void setVideoConfig(ZegoMixerOutputVideoConfig config)Set the video configuration of the mix stream output
Declared in
entity/ZegoMixerOutput.javasetTargetRoom
setTargetRoom
public void setTargetRoom(ZegoMixerOutputRoomInfo info)Set the room information of the mix stream output
Declared in
entity/ZegoMixerOutput.java