startDumpData method

Future<void> startDumpData(
  1. ZegoDumpDataConfig config
)

Dump audio and video data.

Available since: 3.10.0 Description: Dump audio and video data. Currently, only audio data is supported. Use cases: This is a debugging tool. When there is a problem with audio capturing, 3A processing, or other environment processing during publish, you can dump the audio data and upload it to the ZEGO server for further analysis. When to call: It needs to be called after createEngine. Restrictions: None. Caution: It will trigger the onStartDumpData callback when data dumping starts. Related APIs: Call stopDumpData to stop dumping data.

  • config Dump data config.

Implementation

Future<void> startDumpData(ZegoDumpDataConfig config) async {
  return await ZegoExpressImpl.instance.startDumpData(config);
}