Skip to content

LiveSessionExchangeOptions

Defined in: packages/realtime-openai-live-server/src/index.ts:9

Trusted server configuration. Never import this package into a browser.

readonly apiKey: string

Defined in: packages/realtime-openai-live-server/src/index.ts:11

Server-held OpenAI project key.


readonly optional fetch?: {(input, init?): Promise<Response>; (input, init?): Promise<Response>; }

Defined in: packages/realtime-openai-live-server/src/index.ts:15

Trusted fetch implementation for server runtimes and tests. It must honor redirect rejection.

(input, init?): Promise<Response>

MDN Reference

URL | RequestInfo

RequestInit

Promise<Response>

(input, init?): Promise<Response>

MDN Reference

string | URL | Request

RequestInit

Promise<Response>


readonly optional timeoutMs?: number

Defined in: packages/realtime-openai-live-server/src/index.ts:13

Upper bound for exchange including body reading; defaults to thirty seconds.