onRecordingStateUpdate method

FutureOr<void> onRecordingStateUpdate(
  1. Map videoSource,
  2. RecordingState state,
  3. RecordingErrorCode errorCode,
  4. RecordingInfo info,
)

@detail callback @author wangzhanqiang @brief Get a callback of the local recording status.
The callback is triggered by either startFileRecording{@link #RTCEngine#startFileRecording} or stopFileRecording{@link #RTCEngine#stopFileRecording}. @param videoSource Reserved parameter @param state Recording status. See RecordingState{@link #RecordingState} @param errorCode Recording error code. See RecordingErrorCode{@link #RecordingErrorCode} @param info Recording file details. See RecordingInfo{@link #RecordingInfo}

Implementation

FutureOr<void> onRecordingStateUpdate(Map videoSource, RecordingState state,
    RecordingErrorCode errorCode, RecordingInfo info) async {}