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

useVoiceSession

const useVoiceSession: UseBoundStore<StoreApi<VoiceSessionState>>

Her voice as it runs in this room: what the browser said of her microphone, who is speaking, and her volume for each player. The connection writes it; useSpeaking reads it for a game. It lasts the page, not the next visit: a player key names a player in one room.