TwilioRealtimeTransportLayerOptions
type TwilioRealtimeTransportLayerOptions = OpenAIRealtimeWebSocketOptions & object;
The options for the Twilio Realtime Transport Layer.
Type declaration
Section titled “Type declaration”twilioWebSocket
Section titled “twilioWebSocket”twilioWebSocket: WebSocket;
The websocket that is receiving messages from Twilio’s Media Streams API. Typically the connection gets passed into your request handler when running your WebSocket server.