VmonsterRoom
, several events of type Event
may occur, which are essential for handling interactions and monitoring the state of the session.
The following are the key events:
join()
function.STTDataEventType
“transcript”
– The finalized transcription of the user’s speech audio.“start_of_speech”
– Indicates the start of the user speaking. This means the Voice Activity Detection (VAD) system has detected the beginning of human speech.“end_of_speech”
- Indicates the end of the user speaking. This means the Voice Activity Detection (VAD) system has detected the cessation of human speech.on()
method.