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 ZegoExpressDefines.h

Properties

target

target
nonatomic, copy NSString * 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
nonatomic, strong ZegoMixerOutputVideoConfig * videoConfig

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

targetRoom

targetRoom
nonatomic, strong ZegoMixerOutputRoomInfo * targetRoom

Specifies the room information for the output stream.

Methods

initWithTarget

initWithTarget
- (instancetype)initWithTarget:(NSString *)target;
Create a mix stream output object
Declared in ZegoExpressDefines.h

ZegoMixerOutput instance

setVideoConfig

setVideoConfig
- (void)setVideoConfig:(ZegoMixerOutputVideoConfig *)videoConfig;
Set the video configuration of the mix stream output
Declared in ZegoExpressDefines.h

setTargetRoom

setTargetRoom
- (void)setTargetRoom:(ZegoMixerOutputRoomInfo *)targetRoom;
Set the room information of the mix stream output
Declared in ZegoExpressDefines.h

Previous

zegomixerinput

Next

zegomixeroutputroominfo

On this page

Back to top