ZegoMixerOutput Class Reference

Inherits from NSObject
Declared in ZegoExpressDefines.h

Overview

Configure mix stream output target URL or stream ID

  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.

@property (nonatomic, copy) NSString *target

Declared In

ZegoExpressDefines.h

  videoConfig

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

@property (nonatomic, strong) ZegoMixerOutputVideoConfig *videoConfig

Declared In

ZegoExpressDefines.h

– initWithTarget:

ZegoMixerOutput instance

- (instancetype)initWithTarget:(NSString *)target

Return Value

ZegoMixerOutput instance

Declared In

ZegoExpressDefines.h

– setVideoConfig:

Set the video configuration of the mix stream output

- (void)setVideoConfig:(ZegoMixerOutputVideoConfig *)videoConfig

Declared In

ZegoExpressDefines.h