onMediaDataPublisherFileDataBegin method

void onMediaDataPublisherFileDataBegin(
  1. ZegoMediaDataPublisher mediaDataPublisher,
  2. String path
)

The event callback that the media data publisher has read data from the media file.

Description: The event callback that the media data publisher has read data from the media file. Trigger: The callback triggered when the media data publisher begin to read media data from a media file. Restrictions: None.

  • mediaDataPublisher Callback publisher object
  • path Path of currently open file

Implementation

void onMediaDataPublisherFileDataBegin(
  ZegoMediaDataPublisher mediaDataPublisher,
  String path,
) {}