logo
On this page

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 target

Mix 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 videoConfig

Mix stream output video config. On web platforms, this property does not take effect.

targetRoom

targetRoom
public ZegoMixerOutputRoomInfo targetRoom

Specifies the room information for the output stream.

Methods

ZegoMixerOutput

ZegoMixerOutput
public ZegoMixerOutput(String target)
Declared in entity/ZegoMixerOutput.java

setVideoConfig

setVideoConfig
public void setVideoConfig(ZegoMixerOutputVideoConfig config)
Set the video configuration of the mix stream output
Declared in entity/ZegoMixerOutput.java

setTargetRoom

setTargetRoom
public void setTargetRoom(ZegoMixerOutputRoomInfo info)
Set the room information of the mix stream output
Declared in entity/ZegoMixerOutput.java

Previous

zegomixerinput

Next

zegomixeroutputroominfo

On this page

Back to top