onStreamSyncInfoReceived method

FutureOr<void> onStreamSyncInfoReceived(
  1. String streamId,
  2. StreamInfo streamInfo,
  3. SyncInfoStreamType streamType,
  4. Uint8List data,
)

@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> onStreamSyncInfoReceived(
    String streamId,
    StreamInfo streamInfo,
    SyncInfoStreamType streamType,
    Uint8List data) async {}