onAudioFrameSendStateChanged method

FutureOr<void> onAudioFrameSendStateChanged(
  1. String streamId,
  2. StreamInfo streamInfo,
  3. RtcUser user,
  4. FirstFrameSendState state,
)

@detail callback @author wangjunzheng @brief Triggered when the local audio first frame send state changes. @param streamId Stream ID. @param streamInfo Stream information. See StreamInfo{@link #StreamInfo}. @param user User information. See RtcUser{@link #RtcUser}. @param state The first frame send state. See FirstFrameSendState{@link #FirstFrameSendState} for specific indications.

Implementation

FutureOr<void> onAudioFrameSendStateChanged(String streamId,
    StreamInfo streamInfo, RtcUser user, FirstFrameSendState state) async {}