Enumeration LocalAudioStreamReason

Reasons for local audio state changes.

Enumeration Members

LocalAudioStreamReasonDeviceBusy: 3

3: The local audio capture device is already in use. Remind your users to check whether another application occupies the microphone. Local audio capture automatically resumes after the microphone is idle for about five seconds. You can also try to rejoin the channel after the microphone is idle.

LocalAudioStreamReasonDeviceNoPermission: 2

2: No permission to use the local audio capturing device. Remind your users to grant permission. Deprecated: This enumerator is deprecated. Please use RecordAudio in the onPermissionError callback instead.

LocalAudioStreamReasonEncodeFailure: 5

5: The local audio encoding fails.

LocalAudioStreamReasonFailure: 1

1: No specified reason for the local audio failure. Remind your users to try to rejoin the channel.

LocalAudioStreamReasonInterrupted: 8

8: The local audio capture is interrupted by a system call, smart assistants, or alarm clock. Prompt your users to end the phone call, smart assistants, or alarm clock if the local audio capture is required.

LocalAudioStreamReasonOk: 0

0: The local audio is normal.

LocalAudioStreamReasonRecordFailure: 4

4: The local audio capture fails.

Generated using TypeDoc