onMediaDataPublisherFileOpen method

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

The event callback of the media data publisher opening a media file.

Description: The event callback of the media data publisher opening a media file. Trigger: The callback triggered when the media data publisher start loading a media file. Restrictions: None.

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

Implementation

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