rtcEngine$onRemoteAudioStateChanged$info$state$reason method

FutureOr<void> rtcEngine$onRemoteAudioStateChanged$info$state$reason(
  1. ByteRTCEngine engine,
  2. NSString streamId,
  3. ByteRTCStreamInfo info,
  4. ByteRTCRemoteAudioState state,
  5. ByteRTCRemoteAudioStateChangeReason reason,
)

@detail callback @author zhangyuanyuan.0101 @brief Receive this callback when the state of the remote audio stream subscribed to changes. @param engine ByteRTCEngine object @param streamId ID of Remote stream. @param info Remote stream information. See ByteRTCStreamInfo{@link #ByteRTCStreamInfo}. @param state The current state of the remote audio stream. See ByteRTCRemoteAudioState{@link #ByteRTCRemoteAudioState} @param reason The reason for the change in the state of the remote audio stream. See ByteRTCRemoteAudioStateChangeReason{@link #ByteRTCRemoteAudioStateChangeReason}

Implementation

FutureOr<void> rtcEngine$onRemoteAudioStateChanged$info$state$reason(
    ByteRTCEngine engine,
    NSString streamId,
    ByteRTCStreamInfo info,
    ByteRTCRemoteAudioState state,
    ByteRTCRemoteAudioStateChangeReason reason) async {}