onWTNSEIMessageReceived$andChannelId$andMessage method
@detail callback
@valid since 3.60. Since version 3.60, this callback replaces rtcEngine:onPublicStreamSEIMessageReceived:andMessage:andSourceType: 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 video stream.
After subscribeWTNAudioStream:subscribe:{@link #ByteRTCWTNStream#subscribeWTNAudioStream:subscribe}/subscribeWTNVideoStream:subscribe:{@link #ByteRTCWTNStream#subscribeWTNVideoStream:subscribe}, 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 SEI(supplemental enhancement information) message carried by the WTN video stream.
The SEI you can get via this callback is inserted by calling sendPublicStreamSEIMessage 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.
@note You can get the custom information inserted by calling the Open API via the callback onWTNDataMessageReceived:andMessage:andSourceType:{@link #ByteRTCWTNStreamDelegate#onWTNDataMessageReceived:andMessage:andSourceType}.
@order 5
Implementation
FutureOr<void> onWTNSEIMessageReceived$andChannelId$andMessage(
NSString streamId, int channelId, NSData message) async {}