ZegoMixerTask
Mix stream task object.
Declared in
ZegoExpressDefines.h
Includes
Property Lists
Public-Func Lists
Property Docs
taskID
Mix 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 '~', '!', '@', '$', '', '^', '&', '*', '(', ')', '_', '+', '=', '-', ', ';', '’', ',', '.', '<', '>', '/', ''.
Public-Func Docs
initWithTaskID:
- (instancetype)initWithTaskID:(NSString *) taskID;
Create a mix stream task object with TaskID.
setAudioConfig:
- (void)setAudioConfig:(ZegoMixerAudioConfig *) audioConfig;
Set the audio configuration of the mix stream task object.
setVideoConfig:
- (void)setVideoConfig:(ZegoMixerVideoConfig *) videoConfig;
Set the video configuration of the mix stream task object.
setInputList:
- (void)setInputList:(NSArray< ZegoMixerInput * > *) inputList;
Set the input stream list for the mix stream task object.
setOutputList:
- (void)setOutputList:(NSArray< ZegoMixerOutput * > *) outputList;
Set the output list of the mix stream task object.
setWatermark:
- (void)setWatermark:(ZegoWatermark *) watermark;
Set the watermark of the mix stream task object.
setBackgroundImageURL:
- (void)setBackgroundImageURL:(NSString *) backgroundImageURL;
Set the background image of the mix stream task object.
enableSoundLevel:
- (void)enableSoundLevel:(BOOL) enable;
Enable or disable sound level callback for the task.