RealtimeSessionInit
Defined in: packages/react-realtime/src/lib/maelstrom-realtime.ts:43
What a session the extension builds is for: the Maelstrom session and the
voice provider. Passed to MaelstromRealtimeBaseOptions.createAdapter
and to the opening option.
Extended by
Section titled “Extended by”Type Parameters
Section titled “Type Parameters”Provider
Section titled “Provider”Provider = undefined
Properties
Section titled “Properties”provider
Section titled “provider”
readonlyprovider:Provider
Defined in: packages/react-realtime/src/lib/maelstrom-realtime.ts:54
Voice provider this session is built for: the initial provider, or the
one chosen through UseVoiceResult.switchProvider. undefined
when the extension declares no provider.
sessionId
Section titled “sessionId”
readonlysessionId:SessionId
Defined in: packages/react-realtime/src/lib/maelstrom-realtime.ts:48
Maelstrom session identifier, used to scope provider-side resources. It stays the same across provider switches and remounts.