startDumpData method
- ZegoDumpDataConfig config
Dump audio, video data.
Available since: 3.10.0 Description: Dump audio, video data. Use cases: This is a debugging tool. When there is a problem with audio/video 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: Only support Android and iOS to dump video. Caution: It will trigger the onStartDumpData callback when data dumping starts. The video dump auto-stops after 30 seconds to prevent excessive storage usage, triggering the onStopDumpData callback. Related APIs: Call stopDumpData to stop dumping data.
configDump data config.
Implementation
Future<void> startDumpData(ZegoDumpDataConfig config) async {
return await ZegoExpressImpl.instance.startDumpData(config);
}