ZegoMixerTask
混流任务对象
Declared in
ZegoExpressDefines.h
Includes
Property Lists
Public Func Lists
Property Docs
taskID
混流任务 ID,长度不超过256的字符串。不可以包含 URL 关键字,否则推拉流失败。仅支持数字,英文字符 和 '~', '!', '@', '$', '', '^', '&', '*', '(', ')', '_', '+', '=', '-', ', ';', '’', ',', '.', '<', '>', '/', ''。
Public Func Docs
initWithTaskID:
- (instancetype)initWithTaskID:(NSString *) taskID;
通过 TaskID 构造一个混流任务对象
setAudioConfig:
- (void)setAudioConfig:(ZegoMixerAudioConfig *) audioConfig;
设置混流任务对象的音频配置
setVideoConfig:
- (void)setVideoConfig:(ZegoMixerVideoConfig *) videoConfig;
设置混流任务对象的视频配置
setInputList:
- (void)setInputList:(NSArray< ZegoMixerInput * > *) inputList;
设置混流任务对象的输入流列表
setOutputList:
- (void)setOutputList:(NSArray< ZegoMixerOutput * > *) outputList;
设置混流任务对象的输出列表
setWatermark:
- (void)setWatermark:(ZegoWatermark *) watermark;
设置混流任务对象的水印
setBackgroundImageURL:
- (void)setBackgroundImageURL:(NSString *) backgroundImageURL;
设置混流任务对象的背景图片
enableSoundLevel:
- (void)enableSoundLevel:(BOOL) enable;
是否开启混流的声浪回调通知