Skip to navigation

Events

Add the following line to your scenario code to use the events: require(Modules.Inworld);

View as Markdown

Values

WebSocketMediaStarted
'Inworld.Events.WebSocketMediaStarted'

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

WebSocketMediaEnded
'Inworld.Events.WebSocketMediaEnded'

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