ZegoMixerTask
ZegoMixerTask
Mix stream task object.
Details
This class is the configuration class of the stream mixing task. When a stream mixing task is requested to the ZEGO RTC server, the configuration of the stream mixing task is required. This class describes the detailed configuration information of this stream mixing task.
Declared in ZegoExpressDefines.h
Properties
taskID
nonatomic, copy, readonly NSString * taskIDMix stream task ID, a string of up to 256 characters. You cannot include URL keywords, otherwise publishing stream and playing stream will fails. Only support numbers, English characters and '~', '!', '@', '$', '%', '^', '&', '*', '(', ')', '_', '+', '=', '-', '`', ';', '’', ',', '.', '<', '>', ''.
Methods
new
+ (instancetype)new NS_UNAVAILABLE;ZegoExpressDefines.hPlease use [initWithTaskID:] instead
init
- (instancetype)init NS_UNAVAILABLE;ZegoExpressDefines.hPlease use [initWithTaskID:] instead
initWithTaskID
- (instancetype)initWithTaskID:(NSString *)taskID;ZegoExpressDefines.hZegoMixerTask instance
setAudioConfig
- (void)setAudioConfig:(ZegoMixerAudioConfig *)audioConfig;ZegoExpressDefines.hsetVideoConfig
- (void)setVideoConfig:(ZegoMixerVideoConfig *)videoConfig;ZegoExpressDefines.hsetInputList
- (void)setInputList:(NSArray<ZegoMixerInput *> *)inputList;ZegoExpressDefines.hsetOutputList
- (void)setOutputList:(NSArray<ZegoMixerOutput *> *)outputList;ZegoExpressDefines.hsetWatermark
- (void)setWatermark:(ZegoWatermark *)watermark;ZegoExpressDefines.hsetWhiteboard
- (void)setWhiteboard:(ZegoMixerWhiteboard *)whiteboard;ZegoExpressDefines.hsetBackgroundColor
- (void)setBackgroundColor:(int)backgroundColor;ZegoExpressDefines.hsetBackgroundImageURL
- (void)setBackgroundImageURL:(NSString *)backgroundImageURL;ZegoExpressDefines.henableSoundLevel
- (void)enableSoundLevel:(BOOL)enable;ZegoExpressDefines.hsetStreamAlignmentMode
- (void)setStreamAlignmentMode:(ZegoStreamAlignmentMode)mode;ZegoExpressDefines.hsetUserData:length
- (void)setUserData:(NSData *)data length:(int)length;ZegoExpressDefines.hsetAdvancedConfig
- (void)setAdvancedConfig:(NSDictionary<NSString *, NSString *> *)config;ZegoExpressDefines.hsetMinPlayStreamBufferLength
- (void)setMinPlayStreamBufferLength:(int)minPlayStreamBufferLength;ZegoExpressDefines.hsetMixImageCheckMode
- (void)setMixImageCheckMode:(ZegoMixImageCheckMode)mixImageCheckMode;ZegoExpressDefines.h