onWTNSEIMessageReceived property
@detail callback
@valid since 3.60. Since version 3.60, this callback replaces onPublicStreamSEIMessageReceived for the following function. If you have upgraded to version 3.60 or later and are still using this method, please migrate to this callback.
@author hanchenchen
@brief Callback on receiving the SEI message carried by the WTN stream.
After calling subscribeWTNAudioStream{@link #IWTNStream#subscribeWTNAudioStream}/subscribeWTNVideoStream{@link #IWTNStream#subscribeWTNVideoStream}, you will receive this callback if the WTN stream has an SEI message.
@param streamId The ID of the WTN stream.
@param channelId SEI message channel ID. The value range is [0 - 255]. With this parameter, you can set different ChannelIDs for different recipients. In this way, different recipients can choose the SEI information based on the ChannelID received in the callback.
@param message The received SEI(supplemental enhancement information) message.
The SEI message inserted by calling sendSEIMessage in the SDK.
You receive SEI from all the video streams if the SEI messages do not have conflicts. However, if the SEI messages from different video streams have conflicts, you will receive only one of them.
@order 5
Implementation
FutureOr<void> Function(String streamId, int channelId, Uint8List message)?
onWTNSEIMessageReceived;