localAudioStateChanged property
Occurs when the local audio stream state changes.
This callback indicates the state change of the local audio stream, including the state of the audio recording and encoding, and allows you to troubleshoot issues when exceptions occur.
Note
- When the state is AudioLocalState.Failed, see the error parameter for details.
The LocalAudioStateCallback
typedef includes the following parameters:
- AudioLocalState
state
: State of the local audio. - AudioLocalError
error
: The error information of the local audio.
Implementation
LocalAudioStateCallback? localAudioStateChanged;