Skip to content

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.

Provider = undefined

readonly provider: 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.


readonly sessionId: 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.