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

VoiceState

Property Type Description
armed boolean Whether the player has pressed their talk key under push to talk in this session: from then the player’s microphone stays captured, sending nothing until the player holds the key, so the key sends at once.
microphone boolean Whether the room takes the player’s microphone, muted or not: false before the room opens voice, and when the browser or the room refuses it.
muted boolean Whether the player’s microphone is off: true at the start of every session, in every room, until a tap on the microphone button, or with open mic a press of the player’s talk key, turns it on. While it is off and the player holds no talk key, the room gets nothing of the player’s voice. Nothing keeps it across a reload.
pushing boolean Whether the player holds their talk key under push to talk, which sends the player’s voice while it is down.