LocalAudioStreamReason

Reason for local audio state change.

Enumerations

LocalAudioStreamReasonOk
0: Local audio state is normal.
LocalAudioStreamReasonFailure
1: The reason for the local audio failure is unclear. It is recommended to prompt the user to try rejoining the channel.
LocalAudioStreamReasonDeviceNoPermission
2: No permission to start the local audio capture device. Prompt the user to enable permissions.
Note: Deprecated: This enumeration is deprecated. Use onPermissionError callback with RecordAudio instead.
LocalAudioStreamReasonRecordFailure
4: Local audio capture failed.
LocalAudioStreamReasonEncodeFailure
5: Local audio encoding failed.
LocalAudioStreamReasonNoRecordingDevice
6: No local audio capture device. Prompt the user to check in the device control panel whether the microphone is properly connected and functioning.
LocalAudioStreamReasonNoPlayoutDevice
7: No local audio playback device. Prompt the user to check in the device control panel whether the speaker is properly connected and functioning.
LocalAudioStreamReasonRecordInvalidId
9: (Windows only) The ID of the local audio capture device is invalid. Prompt the user to check the audio capture device ID.
LocalAudioStreamReasonPlayoutInvalidId
10: (Windows only) The ID of the local audio playback device is invalid. Prompt the user to check the audio playback device ID.