onMediaPlayerRecvSEI method

void onMediaPlayerRecvSEI(
  1. ZegoMediaPlayer mediaPlayer,
  2. Uint8List data
)

The callback triggered when the media player got media side info.

Description: The callback triggered when the media player got media side info. Trigger: When the media player starts playing media files, the callback is triggered if the SEI is resolved to the media file. Caution: The callback does not actually take effect until call setEventHandler to set.

  • mediaPlayer Callback player object.
  • data SEI content.

Implementation

void onMediaPlayerRecvSEI(
  ZegoMediaPlayer mediaPlayer,
  Uint8List data,
) {}