Rate this page:

Events

Add the following line to your scenario code to use the events:

require(Modules.OpenAI);

Constants

WebSocketMediaEnded
Copy URL

Triggered after the end of the audio stream sent by a third party through an OpenAI WebSocket (1 second of silence).

Parameters

WebSocketMediaStarted
Copy URL

Triggered when the audio stream sent by a third party through an OpenAI WebSocket starts playing.

Parameters

Rate this page: