ZegoMixerTask constructor

ZegoMixerTask(
  1. String taskID
)

通过 TaskID 构造一个混流任务对象

Implementation

ZegoMixerTask(this.taskID)
    : inputList = [],
      outputList = [],
      audioConfig = ZegoMixerAudioConfig.defaultConfig(),
      videoConfig = ZegoMixerVideoConfig.defaultConfig(),
      watermark = ZegoWatermark('', const Rect.fromLTRB(0, 0, 0, 0)),
      whiteboard = ZegoMixerWhiteboard.defaultConfig(),
      backgroundColor = 0,
      backgroundImageURL = "",
      enableSoundLevel = false,
      streamAlignmentMode = ZegoStreamAlignmentMode.None,
      userData = Uint8List.fromList([]),
      advancedConfig = {},
      minPlayStreamBufferLength = -1,
      mixImageCheckMode = ZegoMixImageCheckMode.Normal;