OnRecorderStateChanged

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.

Parameters

state
The current recording state. See RecorderState.
error
The reason for the state change. See RecorderErrorCode.