voiceChannel
voiceChannel(
options?):VoiceChannel
A channel that reaches every player in the room, or those its
canReceive admits, such as the four players on one court. As
Vivox’s group channel, or its positional channel with proximity.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
options |
VoiceChannelOptions |
Returns
Section titled “Returns”Example
Section titled “Example”export const voiceChat = defineVoiceChat({ channels: { nearby: voiceChannel({ proximity: true }) }, });