onRecorderStateChanged property
Occurs when the local audio and video recording state changes. When the local audio and video recording state changes, the SDK triggers this callback to report the current recording state and the reason for the change.
Param state
The current recording state. See RecorderState .
Param error
The reason for the state change. See RecorderErrorCode .
Implementation
OnRecorderStateChanged? onRecorderStateChanged;