Skip to content

Voice · Search params & storage

6 modules · 22 exports · 1 repository · 0 e2e tests · 4 routes

The state Voice keeps in the URL and in the browser's storage. Every param has a default and never fails to decode, see Search params, and each definition should have an assertRoundTrips test. The definitions of the whole app are listed in the reference.

Web storage

sessionStorage callToRejoinPersisted

app/features/voice/voice-client.ts:19Not exportedNo round-trip test

KeyvoiceCallToRejoin
Valuev.nullable(v.object({ roomId: v.number(), leftAt: v.number() }))
Defaultnull

Used in voice-client.ts (own file)

localStorage micEnabledPersisted

app/features/voice/voice-client.ts:26Not exportedNo round-trip test

KeyvoiceMicEnabled
Valuev.boolean()
Defaultfalse

Used in voice-client.ts (own file)