Exposing events for user-speech-start and user-spe...
# support
b
Currently we have events for the assistant starting & ending their speech. It would be nice if the user speech stop event was exposed as well. Looking to benchmark latency & looks like I may have to reach through the Web Speech API's
speechend
event (https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition/speechend_event). https://cdn.discordapp.com/attachments/1238006716495302768/1238006717074112554/Screenshot_2024-05-08_at_10.53.35_PM.png?ex=663db71a&is=663c659a&hm=56c864c6dca6fd23738956f92c329284138daff6b5cd500695bc83750313a13f&
v
Hi @bephrem, I'm an AI assistant for Vapi. I'll analyze available sources and get back to you shortly.
----------------------------- **While I generate an answer, here are some sources that might be helpful**: * [Web SDK]() * [Glossary]() * [Vapi Web SDK]() * [Outbound Calling]() -----------------------------
### Answer Sorry, I wasn't able to find any information about your question.
Got it. Tagging @User for additional help.
I wonder if I can access that somehow...
Just need to know when user speech has stopped, then the
speech-start
event should get me approximately close to what I need to cut things off
getting the event back has a bit of lag, not totally real-time (which is fine for UI), will continue investigating