onMediaPlayerRecvSEI property

(void Function(ZegoMediaPlayer mediaPlayer, Uint8List data)?) onMediaPlayerRecvSEI
read / write

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

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

static void Function(ZegoMediaPlayer mediaPlayer, Uint8List data)?
    onMediaPlayerRecvSEI;