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 * 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
nonatomic, strong ZegoMixerOutputVideoConfig * videoConfigMix stream output video config. On web platforms, this property does not take effect.
targetRoom
targetRoom
nonatomic, strong ZegoMixerOutputRoomInfo * targetRoomSpecifies the room information for the output stream.
Methods
initWithTarget
initWithTarget
- (instancetype)initWithTarget:(NSString *)target;Create a mix stream output object
Declared in
ZegoExpressDefines.hZegoMixerOutput instance
setVideoConfig
setVideoConfig
- (void)setVideoConfig:(ZegoMixerOutputVideoConfig *)videoConfig;Set the video configuration of the mix stream output
Declared in
ZegoExpressDefines.hsetTargetRoom
setTargetRoom
- (void)setTargetRoom:(ZegoMixerOutputRoomInfo *)targetRoom;Set the room information of the mix stream output
Declared in
ZegoExpressDefines.h