# Enum.VoiceChatState

Roblox Engine API enum from Roblox Studio 0.744.0.7441077 (version-7aaa6838d36c4448).

- HTML page: https://rapi.sleaze.dev/enums/VoiceChatState/
- Roblox documentation: https://create.roblox.com/docs/reference/engine/enums/VoiceChatState

Describes the connection state of a local player's voice chat session.

## Items

| Name | Value | Description |
| --- | --- | --- |
| `Idle` | 0 | The player is not connected to voice chat and no join attempt is in progress. |
| `Joining` | 1 | A voice chat join attempt is in progress for the first time. |
| `JoiningRetry` | 2 | A voice chat join is being retried after a previous attempt did not succeed. |
| `Joined` | 3 | The player has successfully joined the voice chat session and is actively connected. |
| `Leaving` | 4 | The player is in the process of disconnecting from the voice chat session. |
| `Ended` | 5 | The voice chat session has ended normally. |
| `Failed` | 6 | The voice chat session ended due to an error, such as a failure to join or a mid-session error. |

## Used by

Each entry lists the class, then the role and names of the members that use this type.

- [VoiceChatInternal](https://rapi.sleaze.dev/classes/VoiceChatInternal.md): event parameter `StateChanged`; property `VoiceChatState`
