Skip to navigation

Events

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

View as Markdown

Values

WebSocketMediaStarted
'QwenCloud.Events.WebSocketMediaStarted'

Triggered when the audio stream sent through a Qwen Cloud WebSocket starts playing.

WebSocketMediaEnded
'QwenCloud.Events.WebSocketMediaEnded'

Triggered after the end of the audio stream sent through a Qwen Cloud WebSocket (1 second of silence).