onPlayerRecvMediaSideInfo property

(void Function(ZegoMediaSideInfo info)?) onPlayerRecvMediaSideInfo
getter/setter pair

The callback triggered when Supplemental Enhancement Information is received synchronously.

Available since: 3.9.0 Description: After the startPlayingStream function is called successfully, when the remote stream sends SEI (such as directly calling sendSEI, audio mixing with SEI data, and sending custom video capture encoded data with SEI, etc.), the local end will receive this callback. Trigger: After the startPlayingStream function is called successfully, when the remote stream sends SEI, the local end will receive this callback. Caution: 1. Since the video encoder itself generates an SEI with a payload type of 5, or when a video file is used for publishing, such SEI may also exist in the video file. Therefore, if the developer needs to filter out this type of SEI, it can be before createEngine Call ZegoEngineConfig.advancedConfig("unregister_sei_filter", "XXXXX"). Among them, unregister_sei_filter is the key, and XXXXX is the uuid filter string to be set. 2. When mutePlayStreamVideo or muteAllPlayStreamVideo is called to set only the audio stream to be pulled, the SEI will not be received.

  • info SEI Callback info.

Implementation

static void Function(ZegoMediaSideInfo info)? onPlayerRecvMediaSideInfo;