onStreamSyncInfoReceived property
FutureOr<void> Function(String streamId, StreamInfo streamInfo, SyncInfoStreamType streamType, Uint8List data)?
onStreamSyncInfoReceived
getter/setter pair
@detail callback @author wangjunzheng @brief Audio stream synchronization information callback. You can use this callback to receive audio stream synchronization information sent remotely after the remote user calls sendStreamSyncInfo{@link #RTCEngine#sendStreamSyncInfo} to send an audio stream synchronization message. @param streamId Remote stream ID @param streamInfo Remote stream information. See StreamInfo{@link #StreamInfo} @param streamType Media stream type. See SyncInfoStreamType{@link #SyncInfoStreamType} @param data Message content.
Implementation
FutureOr<void> Function(String streamId, StreamInfo streamInfo,
SyncInfoStreamType streamType, Uint8List data)? onStreamSyncInfoReceived;