onMediaDataPublisherFileDataBegin method
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 objectpath
Path of currently open file
Implementation
void onMediaDataPublisherFileDataBegin(
ZegoMediaDataPublisher mediaDataPublisher,
String path,
) {}