onRecordingStateUpdate method

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

@detail callback @author wangzhanqiang @brief 获取本地录制状态回调。
该回调由 startFileRecording{@link #RTCEngine#startFileRecording} 或 stopFileRecording{@link #RTCEngine#stopFileRecording} 触发。 @param videoSource 预留参数。 @param state 录制状态,参看 RecordingState{@link #RecordingState} @param errorCode 录制错误码,参看 RecordingErrorCode{@link #RecordingErrorCode} @param info 录制文件的详细信息,参看 RecordingInfo{@link #RecordingInfo}

Implementation

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