Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.
VoiceControlPath
Identifies which voice control-plane path triggered a VoiceChatService event such as RelayCandidatesGathered or VoiceSetupFailed: VoiceControlPath.Join (enter a voice room), VoiceControlPath.Publish (send local microphone audio), or VoiceControlPath.Subscribe (receive remote audio).
Items
| Name | Value | Description |
|---|---|---|
| Publish | 0 | Represents the outbound audio path, through which a client sends local microphone audio to the room. |
| Subscribe | 1 | Represents the inbound audio path, through which a client receives remote participants' audio streams. |
| Join | 2 | Represents the room-join path, through which a client establishes membership in a voice room. |
Publish
Represents the outbound audio path, through which a client sends local microphone audio to the room.
| Field | Value |
|---|---|
| value | 0 |
Subscribe
Represents the inbound audio path, through which a client receives remote participants' audio streams.
| Field | Value |
|---|---|
| value | 1 |
Join
Represents the room-join path, through which a client establishes membership in a voice room.
| Field | Value |
|---|---|
| value | 2 |