Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

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.

Parameter Type
options VoiceChannelOptions

VoiceChannel

export const voiceChat = defineVoiceChat({
channels: { nearby: voiceChannel({ proximity: true }) },
});