OnRecordingStateUpdateType typedef

OnRecordingStateUpdateType = void Function(StreamIndex type, RecordingState state, RecordingErrorCode errorCode, RecordingInfo info)

type:录制流的流属性

state:录制状态

errorCode:录制错误码

info:录制文件的详细信息

Implementation

typedef OnRecordingStateUpdateType = void Function(StreamIndex type,
    RecordingState state, RecordingErrorCode errorCode, RecordingInfo info);