onMediaDataPublisherFileDataBegin property

(void Function(ZegoMediaDataPublisher mediaDataPublisher, String path)?) onMediaDataPublisherFileDataBegin
getter/setter pair

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

Available since: 2.17.0 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

static void Function(ZegoMediaDataPublisher mediaDataPublisher, String path)?
    onMediaDataPublisherFileDataBegin;