onCapturedDataRecordProgressUpdate method

void onCapturedDataRecordProgressUpdate(
  1. ZegoDataRecordProgress progress,
  2. ZegoDataRecordConfig config,
  3. ZegoPublishChannel channel
)

The callback to report the current recording progress.

Available since: 1.10.0 Description: Recording progress update callback, triggered at regular intervals during recording. Use cases: Developers can do UI hints for the user interface. When to trigger: After startRecordingCapturedData is called, If configured to require a callback, timed trigger during recording. Restrictions: None.

  • progress File recording progress, which allows developers to hint at the UI, etc.
  • config Record config.
  • channel Publishing stream channel.

Implementation

void onCapturedDataRecordProgressUpdate(
  ZegoDataRecordProgress progress,
  ZegoDataRecordConfig config,
  ZegoPublishChannel channel,
) {}